[Pkg-shadow-devel] Bug#596283: /etc/cron.daily/passwd does not work

Holger von Rhein lortas at freenet.de
Thu Sep 23 08:20:01 UTC 2010


Package: passwd
Version: 1:4.1.4.2+svn3283-1
Severity: normal

path is missing at the cp-command:

--- /etc/cron.daily/passwd.old  2010-09-06 09:03:35.000000000 +0000
+++ /etc/cron.daily/passwd      2010-09-23 07:38:01.058239036 +0000
@@ -5,5 +5,5 @@
 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



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-24-server (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib
ii  libpam-modules                1.1.1-6    Pluggable Authentication Modules f
ii  libpam0g                      1.1.1-6    Pluggable Authentication Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

passwd recommends no packages.

passwd suggests no packages.

-- no debconf information





More information about the Pkg-shadow-devel mailing list