Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to force users to accept an AUP the first time they log into an OSX computer? We want to keep them from doing anything until they accept and if they don't they will be logged out.

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

The quickest thing I can think of is having an AppleScript with the AUP run at login and have two options. Accept will close the window, remove it from login items, and not show up again. Decline will log the user out.

Probably not the best option(especially if the user is able to force quit the script or switch to another window, though the latter might be handled by setting the script, if possible, to grab focus, and not allow anything else) but it is quick and easy to implement.

share|improve this answer
add comment

I'd probably look into setting them up as an account "Managed with Parental Controls", then forcing them to run the AUP agreement, and have it run an suid program (or otherwise flags the account for some other root process to deal with) that'd set their user back to a regular user.

Apple has some info on ways to add 'LoginHooks' in Customizing Login and Logout, but recommends against it.

What we do here is have a message that use of the system requires them to comply with local policies and grants us authorization to monitor them (so no expectation of privacy, therefore the wiretap laws don't apply), and we set it as LoginwindowText in /Library/Preferences/com.apple.loginwindow.plist.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.