Results 1 to 3 of 3
I have problem in login.
I could not login neither in any user nor in root.
It tells me error
login:no shell ermission denied.
But i tried to find permission(on ...
- 03-09-2007 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 2
Permission Denied
I have problem in login.
I could not login neither in any user nor in root.
It tells me error
login:no shell
ermission denied.
But i tried to find permission(on booting adding script in rc.local , using multiple disk, so that i can edit ) of /bin ,/bin/bash, all are ok.
Can someone throw lights on it.
- 03-09-2007 #2Just Joined!
- Join Date
- Mar 2007
- Posts
- 2
What does /etc/passwd contain for your shell?
- 03-12-2007 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 2
My /erc/passwd contains the following for "root"
root
:0:0:root:/root:/bin/bash
If i enable selinux to "permissive mode", I could able to login(root as well as other user).
But once i enable selinux to "enforcing mode", it automatically logs out from bash prompt.
It threw some warnings, when i do ls /etc
ex-
audit(1173819493.307:3): avc: denied { entrypoint } for pid=2387 comm="login"
name="bash" dev=sda2 ino=373170 scontext=root:sysadm_r:hotplug_t:s0-s0:c0.c255
tcontext=user_u:object_r:file_t:s0 tclass=file


Reply With Quote