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

Re: Check whether the user is local user



> 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!



Reply to: