Date: Sun, 07 Feb 2010 01:55:02 +0100 From: Erik Norgaard <norgaard@locolomo.org> To: questions@freebsd.org Subject: Howto run privileged commands on login/logout Message-ID: <4B6E0F66.4060707@locolomo.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B6E0F66.4060707>