On Sat, Aug 16, 2014 at 6:36 PM, Reco <recovery...@gmail.com> wrote:
> On Sat, 16 Aug 2014 08:17:50 +0100
> Joe <j...@jretrading.com> wrote:
>
>> I have /usr/sbin/nologin also. This is up-to-date sid with systemd,
>> which may not have the same defaults as previous distributions.
>
> Curious. And what shell do they set now for users with uid < 100?
>
> I've checked more-or-less fresh testing with systemd, and it says to me:
>
> # getent passwd nobody
> nobody:x:65534:65534:nobody:/nonexistent:/bin/sh

Up-to-date Wheezy:

nobody:x:65534:65534:nobody:/nonexistent:/bin/sh

nogroup:x:65534:

also

sshd:x:108:65534::/var/run/sshd:/usr/sbin/nologin

> Anyway, changing nobody's shell to /bin/sh is worth trying IMO.
> /usr/sbin/nologin as a shell is the RedHat way, not a Debian one.
>
> Reco

You might compare with

grep false /etc/passwd

-- 
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caar43iobspf_nank9crk1-b8p6otrrg6jgv81x723rkig-l...@mail.gmail.com

Reply via email to