howto allow anyone to poweroff?
freebsd at edvax.de
Wed Aug 7 19:59:28 UTC 2019
On Wed, 07 Aug 2019 15:09:38 -0400, Jim Trigg wrote:
> Way three is to chmod u+s,a+x /sbin/poweroff (or is it /usr/sbin/poweroff?).
% which poweroff
Yes, that's an option, too. But like the 1st way I mentioned,
it might be more risky than needed, because now even non-
interactive users (i. e., programs, daemons, services, etc.
running on the system) can cause a shutdown.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions