How to lock an userid on RH9.0 ?

Rick Stevens rstevens at vitalstream.com
Thu Jun 3 16:50:01 UTC 2004


Yan Peng wrote:
> redhat-install-list:
> 
> 	 On Solaris  I can use the command "passwd -l username" to lock this user to login the server. Which command can be used on RH 9.0 ?
> 	Thanks.

Exactly the same command: "passwd -l username", but it must be run by
root.

"man passwd" would have revealed this to you.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      Do you know how to save five drowning lawyers?  No?  GOOD!    -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list