Differences between version 2 and previous revision of ShellNotes.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Wednesday, May 30, 2007 1:14:10 pm | by BenStaz | Revert |
Older page: | version 1 | Last edited on Wednesday, May 30, 2007 1:13:18 pm | by BenStaz | Revert |
@@ -5,11 +5,11 @@
Note : A normal user can only change their own login shell, whereas the super user can change the login shell for any user account.
The syntax is :
-*chsh -s /path/to/shell/ [user_account]
+*chsh -s /path/to/shell/ ~
[user_account~
]
-So If I am a superuser and I want the login shell for user account 'staz' to be [
sh]
then I would type:
+So If I am a superuser and I want the login shell for user account 'staz' to be sh then I would type:
*shsh -s /bin/sh staz
Keep in mind a normal user can only change their login shell to one that is listed in ''/etc/shells''.