[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: disabling login



> On a multi-user system, how can I "turn off" an account?  Not
> remove it, though, since at a later time, it will have to be
> re-enabled?  While we're at it, how to you re-enable a disabled
> account?

How disabled do you want it?  Edit /etc/passwd and change the shell to
/bin/false to disable login and/or change the password to '*' to pretty much
diable it totally.

HTH,

Brooks



Reply to: