1846676 Members
3287 Online
110256 Solutions
New Discussion

Re: command

 
kacou
Regular Advisor

command

what is the command to list all users on the hp-ux server?
7 REPLIES 7
SKR_1
Trusted Contributor

Re: command

1 listusers
2 more /etc/passwd ( you can check in this file also with all details )

Dont ask these simple questions in forums please, please have read some HP-UX pdf files for reference of your questions/answers.

Thanks

Pete Randall
Outstanding Contributor

Re: command

Try the who command to see the users currently logged in.


Pete

Pete
Torsten.
Acclaimed Contributor

Re: command

... and if you want to know who does what, try "whodo".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jeeshan
Honored Contributor

Re: command

list all existing users in hp-ux try command

#passwd -sa
a warrior never quits
Asif Sharif
Honored Contributor

Re: command

Hi kacou,

To see how many users are currently logged in then you will use "who" command.

To see how many users are created on HP-UX machine use " cat /etc/passwd".

Regards,
Asif Sharif
Regards,
Asif Sharif
Mridul Shrivastava
Honored Contributor

Re: command

Try "who -Hu". It gives details about all users currently logged in along with the IP address of the machine from which users are logged in. (Just to find out the PC location as well).
Time has a wonderful way of weeding out the trivial
Sajjad Sahir
Honored Contributor

Re: command



Dear kacaou

listusers is the best command to see the all users in the system
and if u want no.of users in the system
u can use listusers | wc -l command

thanks and regards

Sajjad