Hi folks,

What does everyone here have in their /etc/passwd file for the 'nobody' user? I've never had to create one before so I've come up with:

nobody:x:99:99:nobody::

I honestly have no idea on what sane values for the home directory and command interpreter fields would be, as I'd never envisage wanting/being able to log in as 'nobody'.

FWIW, my Kubuntu system has '/nonexistent' as the home directory and /bin/sh as the login shell. Note that passwd(5) states that if the command interpreter field is empty, it defaults to the value /bin/sh. Maybe it's better to be explicit rather than implicit though?

Regards,

Matt.

--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to