Fwd: SELinux user login problem
prakash hallalli
prakashkhallalli at gmail.com
Wed Feb 25 10:31:55 UTC 2009
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 s0s0 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20090225/ce98d619/attachment.htm>
More information about the fedora-selinux-list
mailing list