setuid problem
hi,
If i am not wrong than setuid does not work in
selinux if they donot comply to the rules of policy configuration . but since many programs and utilities in normal linux uses setuid , i want to reenable it . have anybody any idea , how to reenable it ?please give details.
thanx
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · On Tue, 28 May 2002, [iso-8859-1] vishwakarma singh wrote:
If i am not wrong than setuid does not work in
selinux if they donot comply to the rules of policy configuration . but since many programs and utilities in normal linux uses setuid , i want to reenable it . have anybody any idea , how to reenable it ?please give details.
thanx
SElinux doesn't disable setuid. It does perform a parallel check to the existing CAP_SETUID capability checks, but setuid program execution only requires CAP_SETUID under special conditions (process tracing, shared state via clone). If you are encountering a setuid capability denial from SELinux, you can grant that permission to the appropriate domain (or define a new domain, as appropriate).
The SELinux access controls are orthogonal to the Linux access controls, and do not depend on the Linux identity attributes. Please read the Configuring the SELinux Policy report, particularly the security model section.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
I like that all the setuid programs are executed even if new sid assigned to them fails to comply to the rules of the policy (in this case program will be prevented from executing ) . that is , i want to run all setuid programs just like simple linux . than what are the changes i should bring in ....
thanx
vishwakarma singh
--- Stephen Smalley <[email protected]> wrote: >
Quoted 41 lines
Quoted 2 lines · On Tue, 28 May 2002, [iso-8859-1] vishwakarma singh wrote:
If i am not wrong than setuid does not work in
selinux if they donot comply to the rules ofpolicy
Quoted 1 line
configuration . but since many programs and
utilities
Quoted 1 line
in normal linux uses setuid , i want to reenable
it .
Quoted 3 lines
have anybody any idea , how to reenable it ?please give details.
thanxSElinux doesn't disable setuid. It does perform a parallel check to the
existingCAP_SETUIDcapability checks, but setuid program execution only
requiresCAP_SETUIDunder special conditions (process tracing, shared
state via clone). If you are encountering a setuid capability denial from
SELinux, you can grant that permission to the appropriate domain (or
define a new domain, as appropriate).The SELinux access controls are orthogonal to the Linux access controls,
and do not depend on the Linux identity attributes. Please read the
Configuring the SELinux Policy report, particularly the security model
section.--
Stephen D. Smalley, NAI Labs
[email protected]
Quoted 7 lines
--
You have received this message because you are
subscribed to the selinux list.
If you no longer wish to subscribe, send mail to
[email protected] with
the words "unsubscribe selinux" without quotes as
the message.
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · On Wed, 29 May 2002, [iso-8859-1] vishwakarma singh wrote:
I like that all the setuid programs are executed even if new sid assigned to them fails to comply to the rules of the policy (in this case program will be prevented from executing ) . that is , i want to run all setuid programs just like simple linux . than what are the changes i should bring in ....
Execution of a setuid program doesn't imply any change in SID. The SELinux user identity attribute in the security context is independent of the Linux uid, as explained in the Configuring the SELinux Policy report. Setuid programs should run "just like simple linux", including the change in the Linux uid. No change required. However, the program may subsequently fail due to a lack of permission in the SELinux policy.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.