On Tue, Jan 07, 2014 at 12:27:59AM +0100, Michael Traxler <[email protected]>
wrote:
> Yes, this method seems to be the correct way: To use an external program to do
> the privileged update of /var/run/utmp. The setgid bit for urxvt seems to
> "drastic" just for this small job.
urxvt uses a helper process and drops privileges as the first thing in
main.
> What happens if one of the many other tasks also need a setgid bit, but
> for a different group?
They haven't surfaced in the last 30 years or so, and new setugid problems
are unlikely to surface in the future.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / [email protected]
-=====/_/_//_/\_,_/ /_/\_\
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode