[Pkg-sympa-devel] Bug#673759: sympa: fails to install: chown: invalid user: `sympa:sympa'

Andreas Beckmann debian at abeckmann.de
Mon May 21 11:27:09 UTC 2012


On 2012-05-21 11:43, Etienne MELEARD wrote:
> Creating the dedicated sympa:sympa user is, per the documentation (
> http://www.sympa.org/manual_6.1/installing-sympa#prerequisites ), a
> prerequisite. Does that mean that when packaged the user creation should
> be automated ? I don't know a lot about packaging ...

You probably want to use something like

  adduser --system --group sympa

in your postinst. You may need to add flags for home directory (which
should probably be /var/lib/sympa), shell, gecos entry, ...

Check adduser manpage (package: adduser, needs a Depends: adduser if you
use it).


Andreas





More information about the Pkg-sympa-devel mailing list