Re: creating users
On Wed, May 07, 2003 at 02:53:03PM +0200, Tobias Wolter wrote:
> Though I was a bit confused -- point 10.2 of the policy manual
> regulates that no package except base-passwd should modify
> /etc/passwd, /etc/groups, ...
>
> Does this only cover modifying directly, or is usage of adduser, etc.,
> disencouraged, too?
adduser is fine, although in maintainer scripts you should only use it
with the --system flag. Read down to 10.2.2 and you'll see 'adduser
--system' mentioned explicitly. 10.2.1 is indeed just talking about
direct modification.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: