tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proposal for write(1) addition
On Sat, Sep 17, 2011 at 02:20:07AM +0200, Julian Fagir wrote:
>
> according to somebody from the #tmux-channel in freenode, tmux does not set
> utmp entries because they would need additional permissions for that.
That could be easily fixed by adding a utmp-writing daemon that took
unix domain messages from clients. Each message would pass both creds,
so the user in question could be authenticated, and rights, so the
utmp daemon could validate that in fact the client had an open file
descriptor to the terminal it was claiming to be logged in on.
This would have the added benefit that the utmp writing daemon could
run as a _utmp role account instead of as root...
Should work, no?
Thor
Home |
Main Index |
Thread Index |
Old Index