Re: default user roles

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

 



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

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

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

  Powered by Linux