[pkg-bacula-devel] [pkg-bacula-commits] [SCM] Bacula, a network backup, recovery and verification program branch, master, updated. debian/5.2.6+dfsg-2-9-gad18bf4

Alexander Golovko alexandro at ankalagon.ru
Mon Aug 6 08:25:58 UTC 2012


В Fri, 03 Aug 2012 16:26:51 +0200
Luca Capello <luca at pca.it> пишет:

> Hi Alexander!
> 
> On Sun, 08 Jul 2012 02:30:07 +0200, Alexander Golovko wrote:
> > The following commit has been merged in the master branch:
> > commit ad18bf43f1395f2f522f7e0ed303a09605ada50e
> > Author: Alexander Golovko <alexandro at ankalagon.ru>
> > Date:   Sun Jul 8 04:29:35 2012 +0400
> >
> >     add bacula into cdrom group (#520508)
> >
> > diff --git a/debian/bacula-common.preinst
> > b/debian/bacula-common.preinst index f5c8fb7..650084a 100644
> > --- a/debian/bacula-common.preinst
> > +++ b/debian/bacula-common.preinst
> > @@ -7,15 +7,19 @@ case "$1" in
> >  	install)
> >  		if ! getent passwd bacula >/dev/null; then
> >  			echo -n "Adding user 'bacula'... "
> > -			adduser --system --no-create-home --group
> > bacula 2>&1 > /dev/null
> > +			adduser --system --home /var/lib/bacula
> > --no-create-home --group bacula 2>&1 > /dev/null usermod -c
> > "Bacula" bacula usermod -G tape bacula
> > +			usermod -G cdrom bacula
> >  			echo "Ok."
> > -                        usermod -d /var/lib/bacula bacula
> 
> I do not remember what the Debian documentation says about usermod,
> but I would bet that we should use addgroup instead.

I can't find anything about usermod too, but if adduser is preferable
and can add user into group, we should use it.

> 
> Thx, bye,
> Gismo / Luca



-- 
with best regards,
Alexander Golovko
email: alexandro at ankalagon.ru
xmpp: alexandro at ankalagon.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120806/ac8737e2/attachment.pgp>


More information about the pkg-bacula-devel mailing list