• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 264
  • Last Modified:

users

UNIXer,

How can I know (programming is also okay) all the usernames that can login to the UNIX server ??????

Andrew
0
andrewyu
Asked:
andrewyu
  • 2
  • 2
  • 2
  • +2
1 Solution
 
ozoCommented:
cat /etc/passwd
0
 
jos010697Commented:
better make that 'ypcat passwd' if we're talking 'servers'
(and/or 'clients') here ...

kind regards,

Jos aka jos@and.nl
0
 
andrewyuAuthor Commented:
But, I am not the admin !
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
rickyrCommented:
Hi...
By default the world has read acces to the /etc/passwd file,
anyone can read it, yes it may seem like a security bug, but most OS's use a shadow file to store the password encryption, this should not be readable by anyone.
ozo, brief and to the point as ever, has got it.
0
 
redsunCommented:
the most way is :

  finger @hostname,now you maybe get some  info,they are loggin .
0
 
andrewyuAuthor Commented:
I want to get all the username on that can login to the server !!!!!!
0
 
redsunCommented:
Oh,if you can login it, cat /etc/passwd.
if not ,only finger it.anyelse is impossblie.
0
 
rickyrCommented:
Hi...
That's what ozo said.
Do you have a user account on the server?....
prompt> rsh server_name
If your login is not trusted on the server, you'll be asked for your password, then...
prompt> more /etc/passwd
I'm with ozo on this one.
regards
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now