Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
server-administration:locking-user-shell-account [2010-08-25 12:46:23]
garrett.plasky Approved
server-administration:locking-user-shell-account [2011-07-01 12:18:05] (current)
garrett.plasky Approved
Line 4: Line 4:
  
 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</​code>+<sxh shell>/​bin/​passwd -l johnsmith</​sxh>
  
 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</​code>+<sxh shell>/​bin/​passwd -u johnsmith</​sxh>
  
  
  
 {{tag>​how-to vps centos}} {{tag>​how-to vps centos}}