/etc/shadow has wrong group

Bug #304794 reported by z3non
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
base-passwd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: base-passwd

according to a discussion in

https://bugs.launchpad.net/ubuntu/+source/xscreensaver/+bug/279560

I report, that I and several other users had experienced problems due to a wrong group of the file /etc/shadow by default

$ ls -l /etc/shadow
-rw-r----- 1 root root 1133 2008-10-06 19:32 /etc/shadow

which commonly leads to problems with screenlocking programs. There have been discussed several workarounds with suid-bit, but not the root of the problem, the wrong group of /etc/shadow (which should be shadow, not root).

This must have been intruduced with gutsy (according to https://bugs.launchpad.net/ubuntu/+source/kde-guidance/+bug/26175), so there should be done a permission check of /etc/shadow within a package install script for gutsy, hardy and intrepid.

ProblemType: Bug
Architecture: i386
Dependencies:
 libgcc1 1:4.3.2-1ubuntu11 [modified: lib/libgcc_s.so.1]
 gcc-4.3-base 4.3.2-1ubuntu11
 findutils 4.4.0-2ubuntu3 [modified: usr/bin/xargs usr/bin/find usr/bin/oldfind]
 libc6 2.8~20080505-0ubuntu7 [modified: lib/ld-2.8.90.so usr/lib/pt_chown usr/bin/iconv usr/bin/getent usr/bin/getconf usr/bin/zdump usr/bin/rpcinfo usr/sbin/zic usr/sbin/iconvconfig]
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: base-passwd 3.5.18 [modified: usr/sbin/update-passwd]
ProcEnviron:
 LANGUAGE=de
 PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_AT.UTF-8
 SHELL=/bin/bash
SourcePackage: base-passwd
Uname: Linux 2.6.27-10-generic i686

Tags: apport-bug
Revision history for this message
Bertrand Croq (bcroq) wrote :

same here... I had to fix /etc/shadow group by hand (xubuntu lucid)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.