pam_selinux(sshd:session): Error! Unable to set executable context

Daniel J Walsh dwalsh at redhat.com
Thu Oct 18 17:42:48 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/2012 12:59 PM, Radha Venkatesh (radvenka) wrote:
> 
> 
> We have an selinux user specialuser_u defined. The outputs of the semanage 
> command are as seen below
> 
> 
> 
> semanager user –l
> 
> 
> 
> admin_u         user       s0         SystemLow-SystemHigh
> system_r sysadm_r
> 
> guest_u         guest      s0         s0
> guest_r
> 
> remotesupport_u user       s0         SystemLow-SystemHigh
> system_r sysadm_r
> 
> root            sysadm     s0         SystemLow-SystemHigh
> system_r sysadm_r
> 
> specialuser_u   user       s0         s0
> system_r sysadm_r
> 
> staff_u         staff      s0         SystemLow-SystemHigh
> sysadm_r staff_r
> 
> sysadm_u        sysadm     s0         SystemLow-SystemHigh
> sysadm_r
> 
> system_u        user       s0         SystemLow-SystemHigh
> system_r
> 
> 

I have no idea what the random chars are, but did you setup a
/etc/selinux/targeted/contexts/users/specialuser_u file?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCAP5gACgkQrlYvE4MpobN9BACgsoMg3JUn5VtPgkbRpsAC7SEk
zmIAni4fDdROC0VKViTtlDU1QEJQmdYE
=Cebx
-----END PGP SIGNATURE-----


More information about the selinux mailing list