Howto run privileged commands on login/logout

Erik Norgaard norgaard at
Sun Feb 7 00:55:05 UTC 2010


I'm playing around with diskless operation. I'd like to be able to run 
privileged commands when a user logins or logs out:

- on login, nfs mount the user's home directory (ok, not critical, I can 
mount /home)
- on logout a system reboot to clean up any temporary files left from 
the session.

Is this possible, without messing arround with sudo or adding users to 
wheel or operator groups?

Thanks, Erik

Erik Nørgaard
Ph: +34.666334818/+34.915211157        

More information about the freebsd-questions mailing list