Fix backup command line in cron.daily script. Closes: #596283
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
shadow (1:4.1.4.2+svn3283-2) UNRELEASED; urgency=low
|
||||
|
||||
* Fix backup command line in cron.daily script. Closes: #596283
|
||||
|
||||
-- Christian Perrier <bubulle@debian.org> Sun, 12 Sep 2010 14:58:39 +0200
|
||||
|
||||
shadow (1:4.1.4.2+svn3283-1) unstable; urgency=low
|
||||
|
||||
* The "Bleu de Gex" release.
|
||||
|
||||
2
debian/passwd.cron.daily
vendored
2
debian/passwd.cron.daily
vendored
@@ -5,5 +5,5 @@ cd /var/backups || exit 0
|
||||
for FILE in passwd group shadow gshadow; do
|
||||
test -f /etc/$FILE || continue
|
||||
cmp -s $FILE.bak /etc/$FILE && continue
|
||||
cp -p $FILE $FILE.bak && chmod 600 $FILE.bak
|
||||
cp -p /etc/$FILE $FILE.bak && chmod 600 $FILE.bak
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user