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

Re: #chsh -s /usr/bin/passwd - by misteke



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jarek Buczyński wrote:
> Hi
> 
> I changed my user root shell to /usr/src/passwd, by mistake :(
> 
> I forgot add user to command chsh
> 
> #chsh -s /usr/bin/passwd
> 
> I can't login as root :( is it possible change this without going to
> physical machine and boot from LiveCD?
> 
> I know root password, and other user who have default shell /bin/bash
> 
> Please help 
> 
> --
> Best regards
> 
> 

Have you setup sudo?  Can you perhaps do a sudo -i, or a sudo /bin/chch
or some such shell?

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF4hwviXBCVWpc5J4RAmytAKCAI6w7/5Mqa+OrIPf3GqvbDuVInwCgxf4d
YCHN/OLk4nWd5boUJeURTEw=
=IWu9
-----END PGP SIGNATURE-----



Reply to: