Whamcloud - gitweb
debian: Use useradd and groupadd in favor of adduser
authorTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 03:22:46 +0000 (22:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 03:35:18 +0000 (22:35 -0500)
commit46e770b2e23c18d27c351207601c0222484d6681
tree7b9de558ff928f4e444eb50853276aec662c9d6d
parenta827a2a3a77bdb18afc6efa136dbc04832b71e08
debian: Use useradd and groupadd in favor of adduser

The adduser package is 'important', and while it is often installed,
we can't guarantee that it will always be there.  A required package,
or a package which is dragged in by a required package, such as
libuuid1, shouldn't depend on an 'important' package since that would
implicitly make it be required, which shouldn't be done unless
absolutely necesary.

So we replace the call to adduser with the lower-level useradd and
groupadd programs.  They are part of the passwd package, which is
required to be on all Debian systems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/libuuid1.postinst
debian/uuid-runtime.postinst