Normal users cannot log in
mike
mike at bristolreccc.co.uk
Wed Mar 31 16:17:29 UTC 2004
On Tue, 2004-03-30 at 22:06, Santiago Erquicia wrote:
> I installed FC2 test2 from scratch and I cannot make any normal user log
> in. I had to disable selinux in order to make it.
>
> This is the error log under "System log":
>
> Mar 30 02:28:58 localhost gdm[3414]: gdm_slave_session_start: Home
> directory for pampa: '/home/pampa' does not exist!
> Mar 30 02:28:58 localhost kernel: audit(1080635338.200:0): avc: denied
> { getattr } for pid=3414 exe=/usr/bin/gdm-binary path=/home/pampa
> dev=hda7 ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
> Mar 30 02:29:00 localhost kernel: audit(1080635340.237:0): avc: denied
> { getattr } for pid=4651 exe=/bin/bash path=/home/pampa dev=hda7
> ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
> Mar 30 02:29:00 localhost kernel: audit(1080635340.240:0): avc: denied
> { getattr } for pid=4652 exe=/bin/bash path=/home/pampa dev=hda7
> ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
> Mar 30 02:29:00 localhost kernel: audit(1080635340.245:0): avc: denied
> { getattr } for pid=4655 exe=/bin/bash path=/home/pampa dev=hda7
> ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
> Mar 30 02:29:00 localhost kernel: audit(1080635340.246:0): avc: denied
> { getattr } for pid=4656 exe=/bin/bash path=/home/pampa dev=hda7
> ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
> Mar 30 02:29:00 localhost kernel: audit(1080635340.270:0): avc: denied
> { getattr } for pid=4658 exe=/bin/bash path=/home/pampa dev=hda7
> ino=80235 scontext=system_u:system_r:xdm_t
> tcontext=root:object_r:home_root_t tclass=dir
>
> It says that the directory didn't exist while it was there. Asked if I
> would like to use '/' as my home directory. If I say yes, the gdm log
> in blocks without even showing any of the initialization status. If I
> say no, it goes back to gdm.
>
> Anyone can see the same?
>
have you tried setfiles /etc/security/selinux/file_contexts /home
More information about the fedora-test-list
mailing list