relabel home directory?

Aleksey Nogin aleksey at nogin.org
Mon Mar 22 06:36:02 UTC 2004


On 21.03.2004 22:25, Charles R. Anderson wrote:

> I installed a fresh copy of FC 1.91 200403191323, formatting all
> partitions except /home.  My home directory is not properly labelled,
> so I cannot log in.  A new user created with "useradd" can log in. 
> How do I fix the contexts on my home directory?

Run

/usr/sbin/setfiles /etc/security/selinux/file_contexts /home

This will label /home correctly.

-- 
Aleksey Nogin

Home Page: http://nogin.org/
E-Mail: nogin at cs.caltech.edu (office), aleksey at nogin.org (personal)
Office: Jorgensen 70, tel: (626) 395-2907



More information about the fedora-selinux-list mailing list