On Fri, 22 Feb 2002 09:52:04 +1100 [EMAIL PROTECTED] wrote:
>
>
> >Hi,
> >
> >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?
>
> passw
> 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 l
>Hi,
>
>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?
passwd -l and passwd -u. See man passwd.
- Chris
*
3 matches
Mail list logo