[DSE-User] Wrong type at user login

Russell Coker russell at coker.com.au
Wed Sep 11 11:26:52 UTC 2013


On Wed, 11 Sep 2013, Éric Deschamps <erdesc at free.fr> wrote:
> Using SElinux on a new installed Wheezy server, I get this strange
> context for my user:
> $ id -Z
> staff_u:staff_r:insmod_t:s0
> 
> It's true that I changed the default selinux user for this user, but
> even with the unconfined_u, the type is still insmod_t.

That's a labelling error, probably init is mislabelled.  "ps axZ" will show 
you the contexts, init or systemd should run in the init_t domain, use 
"restorecon -v" to fix the labelling of the file.

Init programs other than sysvinit and systemd probably aren't going to work.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/



More information about the Selinux-user mailing list