[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 132376] utmpx support missing in Solaris
From:       Martin von Gagern <Martin.vGagern () gmx ! net>
Date:       2007-07-09 15:04:51
Message-ID: 20070709150451.11980.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=132376         




------- Additional Comments From Martin.vGagern gmx net  2007-07-09 17:04 -------
From pututxent(3C): "When called by a non-root user, pututxline() invokes a setuid() \
root program to verify and write the entry, since the utmpx database is normally \
writable only by root."

Looks like Solaris utmpx management had the functionality of utempter built in. Other \
OSes could be checked for similar descriptions to find out if the solution would \
apply there as well.

The presence of utmpx.h alone is not enough; on Linux that header and the used \
functions all exist as well, and still they will only work for users with direct \
write access to utmp. I know your patch doesn't really check for the header, just \
wanted to make this point clear.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic