Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server-administration:disable-user-shell-access [2010-08-23 19:15:57] garrett.plasky created |
server-administration:disable-user-shell-access [2011-07-01 19:16:20] garrett.plasky Approved |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to disable shell access | + | ====== How to Disable Shell Access |
If you would like to disable shell access for a specific user you can do the following. | If you would like to disable shell access for a specific user you can do the following. | ||
Line 5: | Line 5: | ||
In this example we will disable shell access for username johnsmith: | In this example we will disable shell access for username johnsmith: | ||
- | <code console># chsh -s /bin/false johnsmith</ | + | <sxh shell>chsh -s /bin/false johnsmith</ |
< | < | ||
{{tag> | {{tag> |