Subject: useradd is useless for creating system users
To: None <tech-pkg@netbsd.org, tech-userlevel@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
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"?
The command:

	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 <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/