[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Check whether the user is local user




On Wed, 24 May 2000, Oswald Buddenhagen wrote:

> > Is it any method that I can check whether the user is a local user 
> try "man utmp".
> 
> for scripts: the output of "who" has a non-empty last field, if the user
> is non-local. however, this may vary from configuration to configuration.
> 
> -- 
> Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
> --
> If Windows is the answer, I want the problems back!
> 
> 
However,does it work if people from remote login to my machine,and then
type 
"telnet 127.0.0.1" to login again?




Reply to: