> > Very very trivial. As u know when u boot into single mode, yr filesystem > is read-only.(Mandrake behaves diffrently). First boot into single user > mode and at the prompt : >
What happens if single user mode runs sulogin, and root user has expired? If /etc/passwd,/etc/shadow is damaged or non-existent the I know (man) that sulogin puts you in a root shell directly. But, what happens if root user has expired. > # mount / -o remount,rw > > This will remount the "root" as read-write. So now u can go into > /etc/passwd and add the deleted entry like > > root:x:0:0::/root:/bin/bash > > Save the file and reboot. That's it !!. U can use chage to "renew" yr > expired root account, if that's yr problem > > Hope this helps..Any guys interested in making a LOST of it ?? > > -- > Praveen *The Scorpion* Kannan > Project Head - Knowledge Base @ ()paque Networks > Website : http://kb.opaquenetworks.com > E-mail : [EMAIL PROTECTED] > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > --- > Visit our home page at: http://www.chennailug.org > Send e-mail to "[EMAIL PROTECTED]" with "unsubscribe" > in either the subject or the body to unsubscribe from this list. > -pc. (Prakash Chandrasekaran) Silence is the language of the Soul. _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
