FS#23309 - [initscripts] add utmp group support
Attached to Project:
Arch Linux
Opened by Greg (dolby) - Thursday, 17 March 2011, 09:10 GMT
Last edited by Tom Gundersen (tomegun) - Wednesday, 13 April 2011, 12:53 GMT
Opened by Greg (dolby) - Thursday, 17 March 2011, 09:10 GMT
Last edited by Tom Gundersen (tomegun) - Wednesday, 13 April 2011, 12:53 GMT
|
Details
A utmp group should be created in order for members of the
group to be able to write in /var/run/utmp.
In /etc/rc.sysinit also needs to set permissions to /var/run/tmp to have root:utmp The attached patch does that, according to whats in the first comment |
Edit: BTW: http://projects.archlinux.org/initscripts.git/commit/?id=0e4ff39e5a5c72b7d4e8d251d029d4342f68b7b6 based on
FS#12557The permissions can/should stay 664.
I had made the patch based on https://bugs.archlinux.org/task/19392#comment61383
Thanks!
# Create a fresh utmp file:
touch /var/run/utmp
chown root:utmp /var/run/utmp
chmod 664 /var/run/utmp
Good (that's what I did).
Thanks for following up on this!