Re: Creating a system user
On Sun, Sep 30, 2001 at 12:52:43PM -0400, Bob Hilliard wrote:
> Policy 10.2.2 states "Packages which need a user or group, but can
> have this user or group allocated dynamically and differently on each
> system, should use `adduser --system' to create the group and/or
> user." Is it necessary to ask the user's permission to create a
> system user?
No, not usually. You should avoid bothering the user with questions unless
you can't do the right thing without asking. Just make sure the user is
created and removed only in the correct situations. There are plenty of
packages to look at for examples (grep adduser /var/lib/dpkg/info/*.p*).