Setup a Login Hook on a client
Summary:
If you are using FileWave 5.x or later then this article is not for you, instead go to LoginHook Policy
Hooked on Login Hooks? This fileset will create a login hook, executing the command you specify.
Here's what to do:
1. If you want this login hook to be a script, deploy this script first.
If it's a command in the OS, you can skip this step. The important thing is that the script must be there in order for the login hook to properly reference it. If the fileset has a lower ID (created first) then it will be activated first in any simultaneous FileWave deployment.
2. Download the Login Hook Fileset and import it into your FileWave Server.
3. Open the fileset and edit the launch argument. Assuming that the script that you'd like to run is located in /usr/local/etc and named yourScript.sh, this is what your argument should look like:
Change the path and name to the location of your login script.
You're Done!
Every time a user logs in, that script will be run (with root privileges)
- Login to post comments
