Yes this will work. But if the line... ~~:S:wait:/sbin/sulogin
exists in inittab, then you'll have a problem. It will still need the root password. :) Quoting Pol Balaguer <[EMAIL PROTECTED]>: > Yup I'll recommend this too... =) > > ----- Original Message ----- > From: "Holgado, Pedro" <[EMAIL PROTECTED]> > To: "'Philippine Linux Users Group Mailing List'" <[EMAIL PROTECTED]> > Sent: Thursday, September 11, 2003 2:42 PM > Subject: RE: [plug] recover root passwd > > > > If you are using GRUB as your boot loader, type "single" at the end of the > kernel line and press [b] to boot the system, and then you can change the > password by using passwd command. > > > > thanks > > > > -----Original Message----- > > From: Pablo Manalastas [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 10, 2003 11:19 PM > > To: Philippine Linux Users Group Mailing List > > Subject: Re: [plug] recover root passwd > > > > > > Quoting Roi <[EMAIL PROTECTED]>: > > > > > Paano ba malaman ulit ang old passwd? Nakalimutan kasi. Ang distro is > > > Redhat 8.0.:) > > > > This has been discussed before, and so is very old beef. > > > > If anyone forgets his password, root or not, there is no > > way he can recover the password from the encrypted > > password in /etc/shadow (or in /etc/passwd). But root > > can change his password quite easily if he has physical > > access to the machine itself. The steps are: > > > > 1. Boot single user; at the LILO prompt type "linux single" > > where you need to replace the word "linux" by the label used > > when the boot image was installed. > > > > 2. The user is then given root access in single-user mode. > > He can then change the root password using the "passwd" > > command. For obvious reasons, you need to remember the new > > root password. > > > > 3. After changing the root password, you can now reboot the > > system and log in normally using the new password. > > > > P~Manalastas > > -- > > Philippine Linux Users' Group (PLUG) Mailing List > > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > > Official Website: http://plug.linux.org.ph > > Searchable Archives: http://marc.free.net.ph > > . > > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > > . > > Are you a Linux newbie? To join the newbie list, go to > > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > > -- > > Philippine Linux Users' Group (PLUG) Mailing List > > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > > Official Website: http://plug.linux.org.ph > > Searchable Archives: http://marc.free.net.ph > > . > > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > > . > > Are you a Linux newbie? To join the newbie list, go to > > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > > > > > > > -- > Philippine Linux Users' Group (PLUG) Mailing List > [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) > Official Website: http://plug.linux.org.ph > Searchable Archives: http://marc.free.net.ph > . > To leave, go to http://lists.q-linux.com/mailman/listinfo/plug > . > Are you a Linux newbie? To join the newbie list, go to > http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie > -- -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
