Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 22:24:38 -0400
From:      "Jonathan M. Slivko" <jslivko@voyageri.net>
To:        "'BSD Freak'" <bsd-freak@mbox.com.au>, "'FreeBSD Questions'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Which way is better to deny shell access
Message-ID:  <000b01c15cfc$32efe0e0$6501a8c0@sioux>
In-Reply-To: <18f1ed818ec2ec.18ec2ec18f1ed8@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
IMO, it's accomplishing the same thing, but by different methods. 
--Jonathan


-----------------------------------------------------
Jonathan Slivko - Voyager Internet - www.voyageri.net
   Web Hosting - Web Desgin - UNIX Shell Accounts
   jslivko@voyageri.net - Phone: (212) 663-1109

-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of BSD Freak
Sent: Wednesday, October 24, 2001 10:20 PM
To: FreeBSD Questions
Subject: Which way is better to deny shell access

Hi everyone,

Just wondering.... we have a whole heap of pop3 users... we deny them
shell access by assigning their shell as /sbin/nologin ( the same shell
as many of the system accounts)... however I noticed if I use the
adduser utility to create a user with no shell, it assigns /nonexistent
as their shell...... Which is better?


I feel that /nonexitent is probably best because it does not let them
login at all via the shell  however /sbin/nologin lets them login, reads
them the motd and then logs them out automatically.......

Am I right in assuming /nonexistent is a better choice?



---------------------------------------------------------------------
mBox makes you work Smarter, not Harder, from only $0.58 per WEEK!
Visit http://www.mbox.com.au

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000b01c15cfc$32efe0e0$6501a8c0>