Research
.
Skip Search Box

SELinux Mailing List

Re: dhcpd policy settings

From: Russell Coker <russell_at_coker.com.au>
Date: Thu, 14 Apr 2005 20:21:23 +1000


On Tuesday 12 April 2005 23:41, Daniel J Walsh <dwalsh@redhat.com> wrote:
> This looks like you have a user with a home directory in a place like
> /var/lib Which is causing it to be relabeled
> home_root_t. genhomedircon generates locations for homedirectories via
> the getpwd calls, and it looks for user accounts
> with uid >= 500, and sets up the parent as home_root_t.

The real problem here is the UID being >500. The solution is to use the "-r" option to useradd to create a system account, it will probably solve other problems too.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Thu 14 Apr 2005 - 06:25:33 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service