Il 15/08/2008 alle 20:00, Jon Peatfield ha scritto:
> On Fri, 15 Aug 2008, Brett Viren wrote:
[...]
>> So the set-gid utmp lets xterm write to wtmp. I can't conceive of
>> why TUV doesn't do this as well.
>
> On sl4x because xterm is linked against libutempter it doesn't need to
> be setuid/setgid, that piece of code has a little setgid helper.
[...]
> Having said that on sl5x xterm IS setgid but - utempter not utmp!
[...]
> Obviously the utempter code was changed so only those in the utempter
> group can use it, presumably as a security measure.
So, if I understand correctly, the only way to set things straight would
be to make wtmp world-writeable?
Cheers,
Andrea