kpty/utempter

David Faure faure at kde.org
Sun Dec 6 21:10:03 UTC 2015


On Sunday 06 December 2015 22:00:09 René J.V. Bertin wrote:
> On Sunday December 06 2015 21:52:21 David Faure wrote:
> 
> > > Question is, how useful is this in KPty?
> > 
> > `utempter is a privileged helper program that writes utmp/wtmp entries for unprivileged programs.`
> 
> I can read, you know ;)
> 
> > 
> > Does utmp or wtmp exist on OSX?
> > Hmm, yes, but deprecated -- https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/utmp.5.html
> > So probably not worth it.
> 
> There's utmpx nowadays, which isn't marked as deprecated, and is backwards compatible with utmp:
> https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man5/utmpx.5.html
> 
> Question is, what are we missing out on without it? Is this what kdesu is based on, for instance?

It's just about logging, so "based on" is not really true. I'm pretty sure kdesu works even without logging to utmp.

But I don't really need to tell you any of this, given that you can read :-)

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list