From: Stephen Smalley <sds@tycho.nsa.gov>
To: erahul29@yahoo.com
Cc: selinux@tycho.nsa.gov
Subject: Re: Non root user cannot execute semanage, semodule
Date: Tue, 09 Dec 2008 13:14:25 -0500 [thread overview]
Message-ID: <1228846465.8371.11.camel@localhost.localdomain> (raw)
In-Reply-To: <829347.35568.qm@web50202.mail.re2.yahoo.com>
On Tue, 2008-12-09 at 09:52 -0800, Rahul Jain wrote:
> 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
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.
--
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 majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2008-12-09 18:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 17:52 Non root user cannot execute semanage, semodule Rahul Jain
2008-12-09 18:14 ` Stephen Smalley [this message]
2008-12-09 21:03 ` Daniel J Walsh
2008-12-10 6:19 ` Casey Schaufler
2008-12-10 8:00 ` Justin P. Mattock
2008-12-10 13:39 ` Stephen Smalley
2008-12-10 15:56 ` Casey Schaufler
-- strict thread matches above, loose matches on Subject: below --
2008-12-10 16:34 Rahul Jain
2008-12-10 17:22 ` Justin Mattock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1228846465.8371.11.camel@localhost.localdomain \
--to=sds@tycho.nsa.gov \
--cc=erahul29@yahoo.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.