Help - Search - Members - Calendar
Full Version: Get User Status
Linuxhelp > Support > Programming in Linux
demanaz
Hey all,

Is it possible in Red Hat or AIX to get the status of a user without having root authority?

Thanks in advance!
michaelk
Define user status?

For example the who command will output all users currently logged in.
demanaz
sorry, let me restate that. is it possible to gather the following information without having root authority?

is account locked out?
is account expired/disabled?
what is the password change frequency?
when was the password last set?
when was the account created?
michaelk
No. AFAIK the user can only see if his password is about to expire with the chage command.
demanaz
and if usr1 wanted to see the above information about usr2 but usr1 didnt have root authority, he wouldnt be able to?
michaelk
I do not think so.
demanaz
okay cool. thx
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.