Subject: useradd is useless for creating system users
To: None <email@example.com, firstname.lastname@example.org>
From: Johnny C. Lam <email@example.com>
Date: 12/07/2000 12:10:49
Maybe it's just me, but useradd seems pretty useless for creating
system users. For instance, how do I create a user like "daemon"?
useradd -c "Another devil" -d / -g daemon -s /sbin/nologin daemon2
will fail because / already exists. What should I do if I want to
create a user but not populate a home directory?
This problem comes up in the amanda packages and the new CUPS package
I'm working on.
-- Johnny C. Lam <firstname.lastname@example.org>
Department of Statistics, Carnegie Mellon University