[CentOS] login fail on crypted /home

Patrick Bégou Patrick.Begou at legi.grenoble-inp.fr
Tue Nov 11 19:13:47 UTC 2014


Thanks for this very good suggestion Jonathan. I've disabled selinux and 
it works now.
When I install desktops with kickstart, I always disable selinux on our 
internal network and I do not thought about this. This laptop was 
installed from DVD support!
May be on a laptop that can be connected everywhere  I'll have to 
understand this selinux application for a more secured system.

Thanks again.

Patrick

Jonathan Billings a écrit :
> On Tue, Nov 11, 2014 at 07:43:21PM +0100, Patrick Bégou wrote:
>> I have a fesh install of CentOS release 6.6 on my laptop. I want to
>> use a more secure config with /home crypted. But when this partition
>> is mounted I cannot login anymore on my laptop. Only root can login.
>> This occur at level 5 (graphic login) or 3 (text login). The message
>> is "Cannot enter home directory. Using /."
> Does the new /home have the SELinux context home_root_t?  Does your
> new home directory have the context user_home_dir_t?  Does running
> '/sbin/restorecon -r -v /home' fix the issue?




More information about the CentOS mailing list