Re: package adding users
On Tue, Apr 06, 2004 at 09:18:20AM -0400, Erik Bourget wrote:
> What's the best/accepted way to have a package add users to a Debian system?
> I have a daemon that has no need to run as root (but a need to store its own
> datafiles, etc, so nobody is out) and would like to have it run under a user
> account. Gerrit Pape's qmail package does an ugly
> hit-control-c-if-you-don't-want-these-users thing that I don't like.
Use useradd. Generally you could also use debconf to ask confirmation/usernames
for that, but it's not mandatory.
Francesco P. Lovergine