Solved

users

Posted on 1998-02-24
8
257 Views
Last Modified: 2010-04-21
UNIXer,

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

Andrew
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 2008910
cat /etc/passwd
0
 
LVL 4

Expert Comment

by:jos010697
ID: 2008911
better make that 'ypcat passwd' if we're talking 'servers'
(and/or 'clients') here ...

kind regards,

Jos aka jos@and.nl
0
 

Author Comment

by:andrewyu
ID: 2008912
But, I am not the admin !
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 3

Expert Comment

by:rickyr
ID: 2008913
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
 

Accepted Solution

by:
redsun earned 10 total points
ID: 2008914
the most way is :

  finger @hostname,now you maybe get some  info,they are loggin .
0
 

Author Comment

by:andrewyu
ID: 2008915
I want to get all the username on that can login to the server !!!!!!
0
 

Expert Comment

by:redsun
ID: 2008916
Oh,if you can login it, cat /etc/passwd.
if not ,only finger it.anyelse is impossblie.
0
 
LVL 3

Expert Comment

by:rickyr
ID: 2008917
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question