Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 12:20:16 +1000
From:      BSD Freak <bsd-freak@mbox.com.au>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Which way is better to deny shell access
Message-ID:  <18f1ed818ec2ec.18ec2ec18f1ed8@mbox.com.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18f1ed818ec2ec.18ec2ec18f1ed8>