On Sat, Feb 6, 2010 at 4:55 PM, Erik Norgaard <norga...@locolomo.org> wrote: > 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.
Not sure if it would work or not but you could try setting /etc/csh.logout setuid root (or whatever). However, IIRC, there are security concerns with setuid scripts (I remember previous list discussions about setuid shell scripts but don't remember what the verdict was). -- Rob Farmer > > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"