Re: default user roles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since I'm working with the refpolicy source can I set it up there, or
does this have to be a file separate from the source?

On Fri, 2008-02-22 at 14:01 -0500, Christopher J. PeBenito wrote:
> On Fri, 2008-02-22 at 12:15 -0600, Jeremiah Jahn wrote:
> > I can't seem to get the login to set the proper initial role for a user.
> > Every time I login, I end up as auditadm, and not secstaff.
> > 
> > I have the following in my policy:
> [...]
> > user secstaff_u roles { secstaff_r secadm_r auditadm_r } level s0 range s0 - s0;
> 
> You want to make the file /etc/selinux/NAME/contexts/users/secstaff_u
> with the default contexts that you want.  You probably want at least
> this:
> 
> system_r:local_login_t:s0     auditadm_r:auditadm_t:s0
> system_r:remote_login_t:s0    auditadm_r:auditadm_t:s0
> system_r:sshd_t:s0            auditadm_r:auditadm_t:s0
> 
PLUNDERER'S THEME (to Supercalifragilisticexpialidocius) Pillage, rape,
and loot and burn, but all in moderation. If you do the things we say,
then you'll soon rule the nation. Kill your foes and enemies and then
kill your relations. Pillage, rape, and loot and burn, but all in
moderation.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux