Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server-administration:locking-user-shell-account [2010-08-23 19:18:19] garrett.plasky created |
server-administration:locking-user-shell-account [2011-07-01 19:18:05] (current) garrett.plasky Approved |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How to lock and unlock | + | ====== How to Lock and Unlock |
Disabling shell access doesn' | Disabling shell access doesn' | ||
In this example we will lock the system user johnsmith | In this example we will lock the system user johnsmith | ||
- | <code console># /bin/passwd -l johnsmith</ | + | <sxh shell>/ |
In this example we will unlock the system user johnsmith | In this example we will unlock the system user johnsmith | ||
- | <code console># /bin/passwd -u johnsmith</ | + | <sxh shell>/ |
{{tag> | {{tag> |