Changing the login shell for a user: Difference between revisions
Jump to navigation
Jump to search
imported>Satinz (New page: ===Changing the login shell for a user=== If you experience an error like: <pre>su: cannot run /sbin/nologin: No such file or directory</pre> when you try to do <pre>su some_user</pre> you...) |
(No difference)
|
Revision as of 18:08, 7 April 2008
Changing the login shell for a user
If you experience an error like:
su: cannot run /sbin/nologin: No such file or directory
when you try to do
su some_user
you have to change the login shell for that user. This is done with the following line:
vi /etc/passwd
If you