Can't login to the system...!

Steve Bertrand steve at
Thu Jul 23 14:06:44 UTC 2009

thanos trompoukis wrote:
> Hi all, I am a noobie here.
> I was in the system as root and I type this command:
> chsh -s usr/local/bin/bash (without reason,by mistake)

Login as a different user, and "su" to root as you've stated you can do,

# chsh -s /bin/sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3233 bytes
Desc: S/MIME Cryptographic Signature
Url :

More information about the freebsd-questions mailing list