Re: /usr/bin/xauth: error in locking authority file

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

 



> On Thu, 2012-03-15 at 11:35 -0400, Bob Benites wrote:
>
>> [benites@host1 ~]$ ls -lZd /home/benites /home/benites/.Xauthority
>> drwxr-xr-x. benites users system_u:object_r:default_t:s0   /home/benites
>> -rw-------. benites users unconfined_u:object_r:default_t:s0
>> /home/benites/.Xauthority
>
> your home directory is mislabeled.

I thought as much.

> what does matchpathcon return:
>
> matchpathcon /home/benites

/home/benites	system_u:object_r:user_home_dir_t:s0

> does user benites have a home directory and login shell specified, what
> is benites uid/gid?
>
> grep benites /etc/passwd

Sorry, I knew I forgot something. We use LDAP
and Kerberos for authentication so I do not have
a entry in /etc/passwd. On another system where I
use local password authentication and is also
running RHEL 6:

[benites@host2 ~]$ grep benites /etc/passwd
benites:x:500:100:Robert K. Benites:/home/benites:/bin/bash
[benites@host2 ~]$ ls -ldZ /home/benites
drwxr-xr-x. benites users unconfined_u:object_r:user_home_dir_t:s0 /home/benites

I thought adding the context user_home_dir_t on my
home directory on the host where I'm having problems
would solve the problem -- something suggested in
one of the posts I read, but I was unsuccessful
at doing that.

-- Bob
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



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

  Powered by Linux