<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Jonathan Billings &lt;billings@negate.org&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: wplug-bounces+jacob.hammerschmitt=pnc.com@wplug.org</font>
<p><font size=1 face="sans-serif">01/10/2007 08:18 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
General user list &lt;wplug@wplug.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">General user list &lt;wplug@wplug.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [wplug] finding all users &amp;
groups</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>jacob.hammerschmitt@pnc.com wrote:<br>
&gt; <br>
&gt; Hello,<br>
&gt; <br>
&gt; At the risk of sounding like a complete noob, I need to ask a couple
<br>
&gt; simple questions about security...<br>
&gt; <br>
&gt; Other than just going to the /home directory and seeing all the user
<br>
&gt; directories in there, is there another way to determine what user
<br>
&gt; accounts exist on the machine?<br>
<br>
The best way to check is to look for entries in /etc/passwd, or the <br>
other passwd lookups listed in /etc/nsswitch.conf such as LDAP or NIS.<br>
<br>
&gt; Also, I need to determine which security groups each user belongs
to. &nbsp;I <br>
&gt; checked out the /etc/group file but that doesn't seem to jive with
what <br>
&gt; is produced when I type 'groups' at the command line. &nbsp;ex. I
can see <br>
&gt; that My user id is part of the 'ldap' group in the group file but
when I <br>
&gt; run groups there is an additional group that I am a part of that is
not <br>
&gt; reflected in the group file. &nbsp;Here is the output from my queries:<br>
<br>
Your GID might be set the the numerical ID of the 'mantas' group. &nbsp;Check
<br>
in /etc/passwd. &nbsp;Also, your system might be configured to get group
<br>
information from other sources as well, such as NIS or LDAP. &nbsp;Check
the <br>
groups entry in /etc/nsswitch.conf.<br>
<br>
-- <br>
Jonathan Billings &lt;billings@negate.org&gt;</tt></font>
<br>
<br>
<br><font size=2><tt>This is perfect, Thanks!!!</tt></font>
<br>
<br><font size=2><tt>I have a lot to learn about security :)<br>
</tt></font>
<br>

<BR>
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.<BR>