Hello,
On Tue, Nov 03, 2009 at 03:19:10PM +, Justin B Rye wrote:
The section in /etc/cron.daily/standard currently looks like this:
--
#!/bin/sh
[...]
bak=/var/backups
[...]
#
# Backup key system files
#
if cd
Nicolas François wrote:
Justin B Rye wrote:
[...]
Or preferably something more like this:
--
#!/bin/sh
cd /var/backups || exit 0
for FILE in passwd group shadow gshadow; do
test -f /etc/$FILE || continue
Package: passwd
Version: 1:4.1.4.2-1
Severity: wishlist
At present /etc/cron.daily/standard maintains backups of /etc/passwd
(and so on) in /var/backups. If this is something that it's
generally agreed is worth doing, it would seem to make more sense
for the cronjob handling it to belong to the
3 matches
Mail list logo