Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: User group tool |
|---|---|
| Date: | Thu, 14 Sep 2006 22:12:34 -0500 |
To get a list of all users in the admin group... hostname >> c:\output.txt time /t >> c:\output.txt date /t >> c:\output.txt net localgroup administrators | find /v "Alias" | find /v "Comment" | find /v "-" | find /v "Members" | find /v "The command" >> c:\output.txt echo ****************************** >> c:\output.txt Copy above into a.BAT or .CMD file, then use a Windows GPO or login script to run it on all your computers. You can change the path to the file it writes and make it on a network share of your server. If you want to delete all the users out of the Administrators group except only the ones you specify, you can write a GPO for this by configuring the this in the policy... Computer Configuration/Windows Settings/Security Settings/Restricted Groups add a group named "Administrators" and configure it to have only the user accounts you want (if domain accounts, add as DOMAIN\username) and what groups to be in. ----------------- John Skinner Computer Systems Administrator Vanderbilt University -----Original Message----- On 9/14/06, Bud Gordon <bud.gordon@hughes.net> wrote:
I am looking for a tool or script that will let me ferret out users that are members of the admin group (preferably from a command line). I have google'd and use pwdump for lists etc; I also use net user and net group to show me the users and groups, but I need to see who is admin. Thoughts? Thank you!!
------------------------------------------------------------------------ This List Sponsored by: Cenzic Need to secure your web apps? Cenzic Hailstorm finds vulnerabilities fast. Click the link to buy it, try it or download Hailstorm for FREE. http://www.cenzic.com/products_services/download_hailstorm.php ------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Penetration Testing work effort, alfredhitchcock_007 |
|---|---|
| Next by Date: | RE: User group tool, Hanif Bin Abdul Ghani |
| Previous by Thread: | Re: User group tool, Tim |
| Next by Thread: | RE: User group tool, ballares |
| Indexes: | [Date] [Thread] [Top] [All Lists] |