![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Help with Lost Root Password | JoeJohnSmith | UNIX for Advanced & Expert Users | 3 | 05-18-2006 01:26 PM |
| lost root password in AIX | Welfaric | AIX | 4 | 02-15-2006 07:55 AM |
| how to access root priveliges if root password is lost | wojtyla | Linux | 1 | 02-18-2005 06:24 AM |
| Lost root password / Can't login as root | Perderabo | Answers to Frequently Asked Questions | 0 | 06-22-2004 07:40 PM |
| Root Password Lost !!! | nikk | UNIX for Advanced & Expert Users | 9 | 01-11-2003 02:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have recently become the sys adm guy for our unix systems here for my shop. I have a pretty good understanding of the system, but there is just some stuff that I don't know. Right now one of those things is to recover the password for a unix system.
I know that there is a way that you can use the cd to boot up and delete the passwd from the /etc/passwd file. Could someone please help me to do this??? Thanks Chris |
|
||||
|
generally i believe if you delete the password for root in /etc/passwd you will be asked for a new password upon next reboot. this is the case correct? (luckily ive never lost my password
)but you cant do that with the OS that is on there if you dont already have the root password. so, you have a few ways to do it. your goal is to mount that file system and change the /etc/passwd file. first thing, you can rip out that harddrive and put it in another computer with an os on it already, so you can then mount that harddrive and edit accordingly. that however is a pain in the ass. so, the easiet thing to do would be to boot from some cd and use that to mount that drive and edit the file. your install cd is its OWN os. if you boot from that disk, look for an option to get to a command line. once you have a command line you are set. mount that drive, browse to /etc/passwd and fix your computer! as perderabo said, search, youll still find more info than what i have provided. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|