Bug#425831: Determining whether the session is local or remote

2007-06-27 Thread Sam Vilain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 martin f krafft wrote: > also sprach Sam Vilain <[EMAIL PROTECTED]> [2007.06.27.0220 +0200]: >> Don't try all that silly stuff with pty ownership. That's not >> even the correct way to figure out the current process' terminal! >> Just look in wtmp. p

Bug#425831: Determining whether the session is local or remote

2007-06-27 Thread martin f krafft
also sprach Sam Vilain <[EMAIL PROTECTED]> [2007.06.27.0220 +0200]: > Don't try all that silly stuff with pty ownership. That's not > even the correct way to figure out the current process' terminal! > Just look in wtmp. probably the easiest way to do this is to call > `who am i` > > Then you'll

Bug#425831: Determining whether the session is local or remote

2007-06-26 Thread Sam Vilain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Don't try all that silly stuff with pty ownership. That's not even the correct way to figure out the current process' terminal! Just look in wtmp. probably the easiest way to do this is to call `who am i` Then you'll also cover situations not menti