Bug#343158: Fcron runs with group "camera".
On Tue, 13 Dec 2005, Olleg Samoylov wrote: > How fcron know what group to choose? There are no group settings neither > in config file nor in command options. Did gid setted in compile time? By name (getpwent() lookup). The name is set to 'fcron'. I don't recall if it uses this only to locate the user and then uses the primary group for that user, or if it also chegid to fcron. > But in postinst don't set explicitly what group id assign to fcron group. Yes, it does: adduser --system --group --home /var/spool/fcron \ --no-create-home --disabled-password fcron This creates a fcron _system_ user AND a fcron _system_ group. I have no idea how fcron could get things wrong without external tampering. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#343158: Fcron runs with group "camera".
Oops, excuse me. My mistake. This is not a bug. -- Olleg Samoylov smime.p7s Description: S/MIME Cryptographic Signature
Bug#343158: Fcron runs with group "camera".
Henrique de Moraes Holschuh wrote: Only if somehow your system has fucked up its passwd/shadow files. Did you change the system users in *any* way? Activated NIS? Changed /etc/passwd? Changed the passwd map in /etc/nsswitch.conf? Removed the fcron user in some way behind the package's back? Nope. I have not NIS. From /etc/groups: camera:x:105: fcron:x:112: How fcron know what group to choose? There are no group settings neither in config file nor in command options. Did gid setted in compile time? But in postinst don't set explicitly what group id assign to fcron group. -- Olleg Samoylov smime.p7s Description: S/MIME Cryptographic Signature
Bug#343158: Fcron runs with group "camera".
On Tue, 13 Dec 2005, Olleg Samoylov wrote: > Package: fcron > Version: 3.0.0-2 > Severity: normal > > File created by fcron scripts have group "camera". Only if somehow your system has fucked up its passwd/shadow files. Did you change the system users in *any* way? Activated NIS? Changed /etc/passwd? Changed the passwd map in /etc/nsswitch.conf? Removed the fcron user in some way behind the package's back? -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#343158: Fcron runs with group "camera".
Package: fcron Version: 3.0.0-2 Severity: normal File created by fcron scripts have group "camera". -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-amd64-k8-smp Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Versions of packages fcron depends on: ii adduser 3.80 Add and remove users and groups ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy ii dpkg 1.13.11package maintenance system for Deb ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an ii libpam0g 0.79-3 Pluggable Authentication Modules l ii libselinux1 1.26-1 SELinux shared libraries ii postfix [mail-transport-agent 2.2.4-1A high-performance mail transport Versions of packages fcron recommends: ii sysklogd [system-log-daemon] 1.4.1-17 System Logging Daemon -- debconf information: * fcron/anacronwarn: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]