Package: passwd Version: 1:4.1.4.2+svn3283-2+squeeze1 Severity: normal Tags: squeeze
The subject says more or less all. The command 'grpck -s' removes all NIS related lines from /etc/group without any user-notification (neither a message (neither to stderr nor to logfile), nor a returncode different from 0) As a workaround something like the following sequence could be used: grep -v "^[[:blank:]]*[+-]" ${GroupFile} | sort -n -t: -k 3 > ${TmpFile} grep "^[[:blank:]]*[+-]" ${GroupFile} >> ${TmpFile} chmod --reference=${GroupFile} ${TmpFile} chown --reference=${GroupFile} ${TmpFile} if [ -n "$( diff ${GroupFile} ${TmpFile} )" ]; then mv ${TmpFile} ${GroupFile} fi Cheers, Christian -- System Information: Debian Release: 6.0.1 APT prefers stable APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 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-10 Embedded GNU C Library: Shared lib ii libpam-modules 1.1.1-6.1 Pluggable Authentication Modules f ii libpam0g 1.1.1-6.1 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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org