Sponsored Content
Full Discussion: Forgotten root password
Top Forums UNIX for Dummies Questions & Answers Forgotten root password Post 302570852 by Corona688 on Friday 4th of November 2011 12:38:10 PM
Old 11-04-2011
For Linux, for instance, you could boot a Linux livecd, mount and chroot into your root partition, passwd to change root's password, then reboot. Details may vary depending on your exact distro.

There's similar procedures for other systems, but proprietary ones like AIX or HPUX would probably need their own special boot media, not a general purpose rescue CD.
 

9 More Discussions You Might Find Interesting

1. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Forgotten Password and no email recv'd

I have forgotten my password and twice have entered my email address in your 'Forgotten Password' screen, but have received no email about how to proceed. Do you know what's wrong - please advise. Thanks. Jan (jvander) (0 Replies)
Discussion started by: jvandernopasswd
0 Replies

3. Solaris

Resetting forgotten admin password

How do you reset a forgotten administrator password in unix on a Sun Sunblade 100? :mad: (1 Reply)
Discussion started by: mehow
1 Replies

4. SCO

Forgotten password

I am new to unix system hence please excuse my ignorance. I ahve a Dell computer Optiplex G1 30 MTR with Sco open server release 5. The system boots and finally asks for the password. Is it posible to retrive my password or change the same as I have lost my original password. If any further... (2 Replies)
Discussion started by: mahendra1938
2 Replies

5. Forum Support Area for Unregistered Users & Account Problems

forgotten password & registered email

Sir, I forgot my password and regitered email. My user name is : faaarin Pls. inform me my new password to my email : faaarin { at } hotmail { dot } com Thanks and Regards Faroo (1 Reply)
Discussion started by: usernameproblem
1 Replies

6. UNIX for Advanced & Expert Users

Root password forgotten

If someone a Unix system administrator forgets the root password ?. What will be the consequences ?. Should the OS needs to be reinstalled ?? (6 Replies)
Discussion started by: dhanamurthy
6 Replies

7. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

8. Solaris

Lost Root Password on VXVM Encapsulated Root Disk

Hi All Hope it's okay to post on this sub-forum, couldn't find a better place I've got a 480R running solaris 8 with veritas volume manager managing all filesystems, including an encapsulated root disk (I believe the root disk is encapsulated as one of the root mirror disks has an entry under... (1 Reply)
Discussion started by: sunnyd76
1 Replies

9. Solaris

How to reset forgotten mysql root password?

Hi All, I just found one thread on this forum on this subject here: Forgot MYSQL password root | Unix Linux Forums | Web Development but unfortunately the issue was not resolved. I have the same problem with the same error message. The background is that I built a Solaris 11 x86 server... (11 Replies)
Discussion started by: hicksd8
11 Replies
vipw(1B)					     SunOS/BSD Compatibility Package Commands						  vipw(1B)

NAME
vipw - edit the password file SYNOPSIS
/usr/ucb/vipw DESCRIPTION
vipw edits the password file while setting the appropriate locks, and does any necessary processing after the password file is unlocked. If the password file is already being edited, then you will be told to try again later. The vi(1) editor will be used unless the environment variable VISUAL or EDITOR indicates an alternate editor. vipw performs a number of consistency checks on the password entry for root, and will not allow a password file with a "mangled" root entry to be installed. It also checks the /etc/shells file to verify the login shell for root. FILES
/etc/ptmp /etc/shells ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
passwd(1), vi(1), passwd(4), attributes(5) SunOS 5.10 14 Sep 1992 vipw(1B)
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy