On Sunday March 25 2007 22:30, Dan Nicholson wrote:
> Also, I'm wondering if there would be problems running scripts, etc.,
> when HOME=/dev/null. The dummy user we create for coreutils is given
> /root as it's home directory. Robert, do you see any issues running
> the testsuites as nobody?

I used this for passwd:
nobody:x:65534:65534:Unprivileged User:/nonexistent:/sbin/nologin

And this for group:
nogroup:x:65533:
nobody:x:65534:

The home directory doesn't seem to matter unless you try to login (use 
su --login). 'HOME=/nonexistent' is in nobody's environment, but it doesn't 
seem to bother anything.

One Coreutils test didn't pass, but I don't think it was related to these 
nobody users/groups.

Bash's test suite can run as nobody:
su-tools nobody -s /bin/bash -c "make tests"

but the Bash sources need to be writtable by nobody first. It passed without 
errors.

robert

Attachment: pgpbJ5EzpUTVD.pgp
Description: PGP signature

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

Reply via email to