The Linux ether-wake
utility, which creates a magic packet to wake on lan another machine, requires root access:
$ether-wake 12:34:56:78:9A:BC
ether-wake: This program must be run as root.
To give access to an arbitrary user would require either making it SUID root
, or adding /sbin/ether-wake
to /etc/sudoers
.
My concern is that ether-wake
must require root for a reason, so does that mean that it isn't safe to allow ordinary users access to this command?
What detrimental effects on our network could result from giving users access to this command?