Hi Gentoo-users, I'm facing this problem: I *have to* allow one non-root user to shutdown my server remotely (ssh). I know I could create account for him and add his login into /etc/shutdown.allow but I do not want to grant him full shell access.
I thought about adding "/sbin/shutdown -a h now" as his shell into /etc/passwd so that right after he authenticates himself, shutdown is called. But I'm not sure something like this is possible (shutdown must be probably called from shel)... Or is there maybe some other way how to create very restricted account where user could not do anything else but call shutdown? Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.

