Subject: Re: useradd is useless for creating system users
To: Johnny C. Lam <>
From: Hubert Feyrer <>
List: tech-userlevel
Date: 12/07/2000 18:23:48
On Thu, 7 Dec 2000, Johnny C. Lam wrote:
> 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 is esp. lame if you don't actually tell it to go and create the dir
(with the -m switch).

 - Hubert

Hubert Feyrer <>