Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Script Question

Status
Not open for further replies.

LawnBoy

MIS
Mar 12, 2003
2,881
Is there any way I can add a user to an NDS group from their login script? I want to track who has run an auditing package, and only run that package one time per user. Can I do something like:

IF MEMBER OF ".CN=AUDITED.O=XXX" THEN
GOTO NORUN
ELSE
#run audit software
add user to AUDITED group
NORUN:
END

The logic works, but how can I add the user to the AUDITED group?

Thanks for any suggestions.
 
You could do a batch file that runs the package then puts a file on the c:. The start of the batch file can check for the existance of this file (IF EXIST ...) and if it does not exist, it will run the audit package.

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Yeah, I've got that working, but I thought it would be so much more elegant to do the logic with NDS.
 
If you have ZENworks, you can configure a Run Once Application Object?

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top