Delete root's password from Netra X1

cblazque
cblazque used Ask the Experts™
on
Here is the scenario:

I'm trying to delete root's password from Netra X1 (I'm the
new administrator and I dont't know the root's password)

Is there a way to boot from a install server and before installing
mounting / filesystem in orde to delete root's password?


I don't want to re-install, because I don't have the media to recover all the software installed in the server (aplications)

Netra X1 doesn't have CD-ROM

I just have 55 points..................Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
You need to boot off a different media either attach a cdrom or boot off the network.  Do you have a jumpstart server?

Author

Commented:
I don't have jumpstart server, but what if I set up a boot server
could it work???

Commented:
Yes, if you have a bootp server.  have a look at this link
http://aa11.cjb.net/sun_managers/1998/12/msg00361.html
and http://docs.sun.com/?q=solaris+boot+net
IT Consultant and Infrastructure Architect
Commented:
Boot your system with
  ok boot net -s
and mount your root filesystem (maybe fsck is required before you can mount)

fsck /dev/rdsk/c0t0d0s0
mount /dev/dsk/c0t0d0s0 /a
TERM=sun      (or TERM=vt100)
vi /a/etc/shadow
   -- remove the field with root's encrypted password
umount /a
halt

ok boot

That's all

To be able to boot from network you need a boot server (no install ot jumpstart server required, just the boot server is sufficient).

Cheers

P.S.: There is the same Q at http://www.experts-exchange.com/Operating_Systems/Solaris/Q_20777730.html. Get that one removed and point refund.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial