Re: kpty/utempter
On Sunday December 06 2015 22:10:03 David Faure wrote: >> 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. OK, so there must be another reason why it's not fully functional on OS X (supposedly, but the fact there's only a kdesu stub exec doesn't bode well). I'll investigate in due time. >But I don't really need to tell you any of this, given that you can read :-) Indeed, but reading an email is so much more efficient than reading certain other forms of prose ... and besides, where's the fun if someone can't say "told ya" later on? ;) R. ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kpty/utempter
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, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kpty/utempter
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? R. ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kpty/utempter
On Monday 30 November 2015 20:21:23 René J.V. Bertin wrote: > I've had a quick look, and it appears that it shouldn't be overly hard to > port libutempter to OS X (which has setutxent, pututxline etc. instead of > "x-less" counterparts on Linux). > > Question is, how useful is this in KPty? `utempter is a privileged helper program that writes utmp/wtmp entries for unprivileged programs.` 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. -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE Frameworks 5 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
kpty/utempter
I've had a quick look, and it appears that it shouldn't be overly hard to port libutempter to OS X (which has setutxent, pututxline etc. instead of "x-less" counterparts on Linux). Question is, how useful is this in KPty? R. ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel