Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id s37GhBSU020818 for ; Mon, 7 Apr 2014 12:43:11 -0400 Received: from ferret (fw5540.nrl.navy.mil [132.250.196.100]) by ccs.nrl.navy.mil (8.14.4/8.14.4) with ESMTP id s37GhAOO012443 for ; Mon, 7 Apr 2014 12:43:10 -0400 From: "Kim Lawson-Jenkins" To: Subject: files in /root labeled admin_home_t Date: Mon, 7 Apr 2014 12:43:40 -0400 Message-ID: <001a01cf5280$87b76b70$97264250$@nrl.navy.mil> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001B_01CF525F.00A61990" Reply-To: kim.lawson-jenkins@nrl.navy.mil List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: This is a multipart message in MIME format. ------=_NextPart_000_001B_01CF525F.00A61990 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Initially I could not access the root home directory after setting SELinux in enforcing mode. I found information in the SELinux archive that the root home directory should be labeled sysadm_home_t, not admin_home_t as the files in my system's root home directory are labeled. The output of "semanage user -l" on my system shows root with a Labeling Prefix of sysadm and the SELinux Roles of system_r, sysadm_r, staff_r. However, if I use "seinfo -tsysadm_home_t" I can't find the type sysadm_home_t, and I get an error when I attempt to use semanage fcontext to change the file context type of files in /root to sysadm_home_t. Can anyone suggest what I should do to fix the labels for files in /root and the problems that I'm having with the sysadm_t domain? Thanks in advance for a response. Kim ------=_NextPart_000_001B_01CF525F.00A61990 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Initially I = could not access the root home directory after setting SELinux in = enforcing mode.  I found information in the SELinux archive that = the root home directory should be labeled sysadm_home_t, not = admin_home_t as the files in my system’s root home directory are = labeled.    The output of “semanage user = –l” on my system shows root with a Labeling Prefix of sysadm = and the SELinux Roles of system_r, sysadm_r, staff_r.  =

 

However, if I use “seinfo = –tsysadm_home_t”  I can’t find the type = sysadm_home_t, and I get an error when I attempt to use semanage = fcontext to change the file context type  of files in /root to = sysadm_home_t.  Can anyone suggest what I should do to fix the = labels for files in /root and the problems that I’m having with = the sysadm_t domain?

 

Thanks in = advance for a response.

 

Kim

------=_NextPart_000_001B_01CF525F.00A61990--