Non root user cannot execute semanage, semodule
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage. Is there any in which I can permit a non root user execute these commands.
Thanks and Regards
Rahul Jain
Quoted 13 lines · Rahul Jain
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage.
Is there any in which I can permit a non root user execute these commands.
Quoted 2 lines
Thanks and Regards
Rahul Jain
Not directly, no. SELinux only further restricts what can be done; it does not completely override the normal Linux checks.
You could invoke semodule/semanage via sudo in order to enable a non-root user to use them, with suitable policy configuration and sudoers configuration.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 10 lines · Rahul Jain
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage. Is there any in which I can permit a non root user execute these commands.
Thanks and Regards
Rahul Jain
sudo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkk+3QQACgkQrlYvE4MpobOgwgCdHCpxAP2hqRPSI17OLLy0tO4a FAoAmwZa914C1wlLGPV2HZ3+BGPmv9ZG
=zE1X
-----END PGP SIGNATURE-----
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Daniel J Walsh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 4 lines · Rahul Jain
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage. Is there any in which I can permit a non root user execute these commands.
Quoted 8 lines
Quoted 6 lines
Thanks and Regards
Rahul Jainsudo
File based capabilities, too.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Shouldn't the employee have only access to only what they need?
justin P. Mattock
Quoted 16 lines · Casey Schaufler
Quoted 5 lines · Daniel J Walsh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Rahul Jain wrote:
Quoted 9 lines
Quoted 7 lines
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage. Is there any in which I can permit a non root user execute these commands. Thanks and Regards
Rahul Jainsudo
Quoted 8 lines
File based capabilities, too.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected]
with
the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 17 lines · Casey Schaufler
Quoted 16 lines · Daniel J Walsh
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 11 lines · Rahul Jain
Hi All,
I am currently developing a Role Based Access Solution on Montavista linux using SELiunx. I started my implementaion with the reference policy from Tresys. In this implementation I had assigned a role of security officer to one of my non root Linux user. This user is resposible for maintaining SELinux related tasks such as creation, building of policy etc. But this user of mine, being a non root user is not able to execute some priviledged commands such as semodule and semanage. Is there any in which I can permit a non root user execute these commands.
Thanks and Regards
Rahul Jain
Quoted 4 lines
Quoted 2 lines
sudo
File based capabilities, too.
No - here we are running programs that do not expect to have any special privileges beyond their caller. And semanage is a python script.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · Stephen Smalley
Quoted 2 lines
No - here we are running programs that do not expect to have any special privileges beyond their caller.
Yes, you would have to make the programs CAP aware, and in any case ...
Quoted 2 lines
Quoted 2 lines
And semanage is a python script.
The Orange Book educated mind boggles. You're right. Bad idea. Never mind.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.