Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Delete root's password from Netra X1

Posted on 2003-10-25
4
500 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:cblazque
  • 2
4 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 9619050
You need to boot off a different media either attach a cdrom or boot off the network.  Do you have a jumpstart server?
0
 

Author Comment

by:cblazque
ID: 9620580
I don't have jumpstart server, but what if I set up a boot server
could it work???
0
 
LVL 18

Expert Comment

by:liddler
ID: 9622027
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
0
 
LVL 16

Accepted Solution

by:
Hanno Schröder earned 55 total points
ID: 9626471
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.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java core in Solaris 10 1 296
Tracking which app / process changes permission of a file in SOlaris 10 4 124
unix example issues 18 99
Martian Packets Unix 5 67
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

838 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question