Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82009

Summary: sys-libs/utempter description says writing utmp records needs root access
Product: Gentoo Linux Reporter: Andreas Kling <keso>
Component: [OLD] Core systemAssignee: Seemant Kulleen (RETIRED) <seemant>
Status: RESOLVED FIXED    
Severity: trivial CC: x11
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Kling 2005-02-14 09:53:42 UTC
The description for sys-libs/utempter reads "App that allows non-privileged apps to write utmp (login) info, which needs root access", which isn't really true.

Writing utmp records doesn't require root access, just write access to /var/run/utmp, which is accomplished in Gentoo by having /var/run/utmp chgrp'ed to 'utmp' and /usr/sbin/utempter setgid 'utmp'

Reproducible: Always
Steps to Reproduce:
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2005-04-15 05:41:59 UTC
fixed, thanks!