Re: Default User in Selinux

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

 



On Wed, 2017-11-29 at 17:19 +0530, Aman Sharma wrote:
> 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.

That suggests something is very wrong with your seusers configuration,
or maybe you have too many underscores before or after default (should
be two _ before and after).

You can delete all local customizations to your seusers configuration
via semanage login -D.  This will revert to the stock configuration in
your policy package.  Likewise for semanage user -D.



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

  Powered by Linux