[wplug] finding all users & groups

jacob.hammerschmitt at pnc.com jacob.hammerschmitt at pnc.com
Wed Jan 10 08:13:14 EST 2007


Hello,

At the risk of sounding like a complete noob, I need to ask a couple 
simple questions about security...

Other than just going to the /home directory and seeing all the user 
directories in there, is there another way to determine what user accounts 
exist on the machine?

Also, I need to determine which security groups each user belongs to.  I 
checked out the /etc/group file but that doesn't seem to jive with what is 
produced when I type 'groups' at the command line.  ex. I can see that My 
user id is part of the 'ldap' group in the group file but when I run 
groups there is an additional group that I am a part of that is not 
reflected in the group file.  Here is the output from my queries:

> grep -i 'pp43157' /etc/group
> ldap:x:600:pp24438,pp25730,pp25902,pp43157,pp43231,pp19617

> grep -i 'ldap' /etc/group
> ldap:x:600:pp24438,pp25730,pp25902,pp43157,pp43231,pp19617

> groups
> mantas ldap

> grep -i 'mantas' /etc/group
> informat:x:700:mantas,pp18623,stx0001
> mantas:x:800:

I'm using Red Hat Linux Advanced Server release 2.1AS/i686 (Pensacola)

Thanks in advance,

~Jh

The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US Law. PNC’s postal address is 249 Fifth Avenue, Pittsburgh, PA 15222. If you do not wish to receive any additional advertising or promotional messages from PNC at this e-mail address, click here to Unsubscribe. https://pnc.p.delivery.net/m/u/pnc/uni/p.asp By unsubscribing to this message, you will be unsubscribed from all advertising or promotional messages from PNC. Removing your e-mail address from this mailing list will not affect your subscription to alerts, e-newsletters or account servicing e-mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20070110/14aea564/attachment.html


More information about the wplug mailing list