Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2002 13:35:09 -0600
From:      "Scott Gerhardt" <scott@gerhardt-it.com>
To:        "FreeBSD" <freebsd-questions@FreeBSD.ORG>
Subject:   Shells Question
Message-ID:  <KPEMLBLEMPMHGLJOCDEGGEHCDMAA.scott@gerhardt-it.com>

next in thread | raw e-mail | index | archive | help
To disallow shell accounts for ftp and pop users etc.,
Is it better to use /sbin/nologin or /nonexistent for a shell entry in
/etc/passwd?

"/nonexistent" does not exist
"/sbin/nologin"  exists and actually fires up a shell and returns
something.

FTP users must have a valid shell but this can be set to anything in
/etc/shells.

Can't seem to find a definitive answer to this.


Thanks,

_________________________________

Scott Gerhardt, P.Geo.
Gerhardt Information Technologies



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?KPEMLBLEMPMHGLJOCDEGGEHCDMAA.scott>