Greetings, I just noticed that the /etc/passwd files contains the shell "/usr/sbin/nologin" by default on many users. Shouldn't that be "/sbin/nologin" instead? Regards, Frank -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050407/e075c2f3/attachment.bin
On Thu, Apr 07, 2005 at 03:40:20PM -0500, Frank Knobbe wrote:> Greetings, > > I just noticed that the /etc/passwd files contains the shell > "/usr/sbin/nologin" by default on many users. Shouldn't that be > "/sbin/nologin" instead?I'd say no: [1:43pm] brooks@lor (~): ll /sbin/nologin lrwxr-xr-x 1 root wheel 17 Mar 24 08:48 /sbin/nologin -> /usr/sbin/nologin -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050407/def880eb/attachment.bin
At 3:40 PM -0500 4/7/05, Frank Knobbe wrote:>Greetings, > >I just noticed that the /etc/passwd files contains the shell >"/usr/sbin/nologin" by default on many users. Shouldn't that be >"/sbin/nologin" instead?It was moved from /sbin/nologin to /usr/sbin/nologin, for reasons that were tied to changing /bin and /sbin to be dynamically-linked binaries (instead of having them all statically-linked). -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu