1. Run linuxconf
2. Select Config -> User Accounts -> Normal
3. Select the user you want to disable
4. Uncheck the box for The Account is Enabled
HTH,
Hilary
aoc2 wrote:
> On Mon, 8 Feb 1999, Langa Kentane wrote:
>
> > How do I disable a user account such that when they try to log on they get a
> > message telling them that the acccount is disabled.
> >
> > Thanks in advance.
> >
> > Langa
> >
>
> create a script like so:
>
> #!/usr/bin/tail +2
> You do not have permission to access this server. Be gone.
>
> then in /etc/passwd, put the name of the script
> in the last field.