Fwd: SELinux user login problem

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

 




Hi All,

       I have created 'myuser'  user and  created custom module policy for user.
       I have installed successfully module, but when i logging myuser in
    i will get bash prompt.

       I have followed  as below steps for creating module.

   #vi myuser.te
                         policy_module(myuser, 0.0.1)
                         role myuser_r;
                         userdom_unpriv_user_templete(myuser)

#make ­-f /usr/share/selinux/devel/Makefile
#sudo semodule ­i myuser.pp
#semanage user ­a ­L s0 ­r s0­s0 ­L "myuser1_r" ­P user myuser1
#useradd ­Z myuser1 myuser1

I did all the step when i try login in system following error will display.

gtt login: myuser
password: XXXXXX

-bash:  /home/myuser/.bash_profile: Permission denied
-bash-3.1$

Please give what should i have to do.

Thanks,
Prakash.
--
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