Howto run privileged commands on login/logout

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


Hi:

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                  http://www.locolomo.org


More information about the freebsd-questions mailing list