generic-poky/meta/recipes-core/sysvinit
Laurentiu Palcu f638364eff sysvinit: allow users in shutdown group to perform halt/reboot
For this to happen:
 * 'shutdown' group has been created;
 * changed ownership group for /sbin/halt and /sbin/shutdown to 'shutdown';
 * deny execution rights to other users except 'root' and those belonging
   to 'shutdown' group;
 * set setuid bit to both apps;

So, basically, in order for a normal user to be able to shutdown/reboot
the machine, it must be a member of 'shutdown' group.

Other changes:
 * fixed identation for 2 lines that used spaces instead of tabs;

[YOCTO #4345]

(From OE-Core rev: b32d06fbe797cd39cc19f62bda8a698effe7c0ea)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10 09:41:54 +01:00
..
sysvinit sysvinit: rc: exit psplash correctly 2013-03-27 11:18:27 +00:00
sysvinit-2.88dsf update patch upstream status 2011-05-13 11:02:14 +01:00
sysvinit-inittab sysvinit-inittab: Fixed license warning. 2012-03-20 15:21:38 +00:00
sysvinit-inittab_2.88dsf.bb sysvinit-inittab: remove specific handling of SERIAL_CONSOLE 2013-05-02 17:41:54 +01:00
sysvinit_2.88dsf.bb sysvinit: allow users in shutdown group to perform halt/reboot 2013-07-10 09:41:54 +01:00