[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2713: new /etc/passwd has corrupt entry for 'nobody'



On Thu, 18 Apr 1996, Klee Dienes wrote:

> The base package contains the following line:
>
> nobody:*:65534:65534:nobody:/dev/null
>
> Since it's short one field, getpwnam silently ignores it, which breaks
> a number of programs that rely on the existence of 'nobody'.

There's another mistake - the shell should be /bin/sh, not /dev/null.
Several scripts,  find's cron script for example, su to nobody for
safety.

So the line should be:

nobody:*:65534:65534:nobody:/:/bin/sh

Guy


Reply to: