Domain Server
From wiki.IPBRICK.COM
Is it possible to run a script at the moment that a user logs in?
Yes, when a user logs in the domain IPBrick will search for a batch file to run.
This file should be placed in the shared folder //[server's name]/netlogon/ (ex.: //ipbrick/netlogon). If in that folder exists a file named [user's login].bat (ex.: for a user with the login jdoe the file should be named jdoe.bat) IPBrick will run it at the moment the user logs in.
On the server's file system you may find this folder located at /home1/netlogon.
Note that the users members of the "Domain Admins" group have read and write permission on this folder, while the other users have only permission to read it's contents.