Re: Shutdown and reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Le 10/11/2010 13:12, joker-jar@xxxxxxxxx a écrit :
Please tell me the best way to allow non root user to use halt, reboot,
shutdown e t.c. May be set group "power" to this binaries?

$ ls -l /sbin/halt
-rwxr-xr-x 1 root root 15152 2010-10-02 13:26 /sbin/halt

(Not only for me but in distro). No?

You don't need to change permissions or ownership of /sbin/halt (or any other file).

Set up sudo to allow members of a group of your choice to execute /sbin/shutdown

This may interest you:
https://wiki.archlinux.org/index.php/Allow_Users_to_Shutdown


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux