[CentOS] Fwd: Default User in Selinux

Mon Dec 4 10:53:10 UTC 2017
Aman Sharma <amansh.sharma5 at gmail.com>

Hi All,

During System boot up, I am running some semanage commands to change the
User to sysadm_u.  But in Cent OS 7.3 , Below error message is coming
i.e.  *ValueError:
Login mapping for __default__ is not defined.*

/usr/sbin/semanage login -m -S targeted -s user_u -r s0 __default__
    ValueError: Login mapping for __default__ is not defined


But the same command is working fine in Cent OS 6.8.

Please let me know why this error message is coming for Cent OS 7.

-- 

Thanks
Aman
Cell: +91 9990296404 |  Email ID : amansh.sharma5 at gmail.com



-- 

Thanks
Aman
Cell: +91 9990296404 |  Email ID : amansh.sharma5 at gmail.com