Research
.
Skip Search Box

SELinux Mailing List

Re: SELinux Policy Editor and CAP_SYS_BOOT

From: Russell Coker <russell_at_coker.com.au>
Date: Sat, 23 Apr 2005 08:47:29 +1000


On Friday 14 January 2005 06:37, Nick <nick-lists@austin.rr.com> wrote:
> I have the need to enable (and make work) the shutdown and halt
> accounts. I set a password for these accounts and tried to use them and
> got the expected "you must be root" a collegue pointed out that I might
> need the CAP_SYS_BOOT capability turned on. After an hour of Googling on
> something that relates to CAP_SYS_BOOT and makes sense within the
> context of SELinux.

init_t has capability sys_boot as it is the domain that instructs the kernel to reboot in normal situations. The administrator merely asks the init process to perform the reboot.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Fri 22 Apr 2005 - 19:26:12 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service