[101113] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Deleting shells for users

daemon@ATHENA.MIT.EDU (Marthe =?iso-8859-1?Q?Nes=F8en?= =)
Tue Nov 24 17:39:37 1998

Date: Tue, 24 Nov 1998 23:38:14 +0100
To: redhat-list@redhat.com
From: Marthe =?iso-8859-1?Q?Nes=F8en?= =?iso-8859-1?Q?_Gangfl=F8t?= <ulva@powahtech.net>
In-Reply-To: <365B210A.FC8CED11@complete.co.uk>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

>> > 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.


Or try to change the shell-field in /etc/passwd to "/bin/false" :

ulva:x:500:500::/home/ulva:/bin/false


I believe this is the most correkt way to do it, but.. well it works :-)



-Ulva


- http://jediknight.atc.no/ - ICQ#: 11573020 - ulva@powahtech.net -
              - On the Internet, nobody knows you're a dog. -


-- 
  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.


home help back first fref pref prev next nref lref last post