diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-03 17:02:49 +0300 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-09 07:56:11 -0700 |
commit | b32d06fbe797cd39cc19f62bda8a698effe7c0ea (patch) | |
tree | 42c8472e81f04bccfdcda33eb30219e7bf7cac26 /meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch | |
parent | a57e4253c5e7d32702e32df5ec3ad007075a199f (diff) | |
download | openembedded-core-b32d06fbe797cd39cc19f62bda8a698effe7c0ea.tar.gz openembedded-core-b32d06fbe797cd39cc19f62bda8a698effe7c0ea.tar.bz2 openembedded-core-b32d06fbe797cd39cc19f62bda8a698effe7c0ea.zip |
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]
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils-0.155/uclibc-support.patch')
0 files changed, 0 insertions, 0 deletions