Re: SELinux user login problem

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

 



On Wed, 2009-02-25 at 15:38 +0530, prakash hallalli wrote:
> Hi All,
> 
>        I have created myuser  user and i created custom module for
> user.
>        i  have followed same below steps.
>    #vi myuser.te 
>                          policy_module(myuser, 0.0.1)
>                          role myuser_r; 
>                          userdom_unpriv_user_templete(myuser)
> --

cp /etc/selinux/targeted/contexts/users/user_u /etc/selinux/targeted/contexts/users/myuser

sudo semanage user -a -L s0 -r s0-s0 -R "myuser_r" -P user myuser

sudo useradd -Z myuser prakash

hth, Dominick
> fedora-selinux-list mailing list
> fedora-selinux-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux