Quantcast
Channel: change shell of a user from /bin/false to another - Super User
Browsing latest articles
Browse All 3 View Live

Answer by AlexKing for change shell of a user from /bin/false to another

Try:sudo vigrIn the editor, change root's shell back to /bin/bash (It should be the last field on the first line)

View Article



Answer by xuhdev for change shell of a user from /bin/false to another

You can modify the file /etc/passwd if chsh doesn't work, by replacing the lineroot:x:0:0:root:/root:/bin/falsewithroot:x:0:0:root:/root:/bin/bash

View Article

change shell of a user from /bin/false to another

I made a mistake of change the root shell to /bin/false, but when I want to change it back, I always got errorsudo chsh -s /bin/bash root[sudo] password: <input current user password>password:...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images