Hi everybody,

I'm facing an issue regarding SELinux and creating users inside a Centos
container:

# passwd testuser
passwd: unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 is not
authorized to change the password of testuser

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is my SELinux status on the Centos HOST and the Centos GUEST container

centos HOST:
#cat /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted

#cat /selinux/enforce
0

but when I check the sestatus:
#sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   permissive
Mode from config file:          disabled
Policy version:                 24
Policy from config file:        targeted

------------------------------------------------------------------------------------------------------------------------------------------------------------------
Centos GUEST:

# cat /etc/selinux/config
SELINUX=disabled

[root@hcmgit ~]# cat /selinux/enforce
0

# sestatus
SELinux status:                 enabled
SELinuxfs mount:                not mounted
Please mount selinuxfs for proper results.


I'd appreciate any idea how to fix this.

-- 
Luis M. Ibarra
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to