am I logged in locally?
Glen Turner
glen.turner at aarnet.edu.au
Mon Nov 13 01:28:49 CST 2006
Shane wrote:
> does anyone have a nice way to test if a user is logged in locally /
> physically to a machine? ...at the moment linux only but preferably
> something that could be modified to also work on OS X too ..
Um, I think want you are actually trying to ask is if the user
logined in on a trusted TTY.
That is, is their *login* terminal in /etc/securetty.
More information about the linuxsa
mailing list