[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing root shell



On Wed, 29 Oct 2003 04:33, Anish Muttreja wrote:
> I did something very silly on mu laptop. I manged to set the root shell to
> an incorrect value.
> Now I can't login as root.

For future reference, the way to solve this is to append "init=/bin/bash" to 
the kernel boot parameters (both GRUB and LILO offer ways of doing this).  
Then you can change the password (or do anything else you desire).

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Reply to: