[100766] in RedHat Linux List
Re: Deleting shells for users
daemon@ATHENA.MIT.EDU (Tomas Buday)
Mon Nov 23 09:47:25 1998
Date: Mon, 23 Nov 1998 15:47:22 +0100 (CET)
From: Tomas Buday <tomas@snt.sk>
To: Ed Lawson <elawson@lr.net>
cc: "redhat-list@redhat.com" <redhat-list@redhat.com>
In-Reply-To: <19981123144143.AAA26952@office4.office.new>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
i guess it's a good idea to edit /etc/default/useradd
before adding the next 100 users;)
but for now, use 'sed' or 'vi' to substitute the shell field
with something else.
> I have several users added to a RH 5.0 machine so they can get their email from IMAP. However, I want
> to change their accounts so they cannot access the machine. In other words, they get no shell if they log in.
> What is the best way to do this? I need to be able to do this from the command line as the GUI
> tools are not available. What needs to be used as a replacement for the standard shell in each users entry.
> TIA
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.