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 s31Dqo5w011197 for ; Tue, 1 Apr 2014 09:52:50 -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 s31DqkfS005745 for ; Tue, 1 Apr 2014 09:52:49 -0400 From: "Kim Lawson-Jenkins" To: Subject: Labelling problems with a user directly running an application in a confined domain Date: Tue, 1 Apr 2014 09:59:18 -0400 Message-ID: <026a01cf4db2$9524fb60$bf6ef220$@nrl.navy.mil> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_026B_01CF4D91.0E135B60" 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_026B_01CF4D91.0E135B60 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I'm pretty sure my questions are basic SELinux 101 but I'm having a problem confining an application when a user runs the application directly. On our system I have removed the unconfined domain and unconfined user. When the system initializes the confined applications run in the correct confined domains. However, if I use ssh to access the server, stop an application, and then start the application again, the application will run with the label sshd_t. I haven't tried starting a confined application from a local console but I'll probably encounter a similar problem. How should I modify the policy to allow a confined user to execute an application but also have the application run in the application's confined domain? Kim ------=_NextPart_000_026B_01CF4D91.0E135B60 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m = pretty sure my questions are basic SELinux 101 but I’m having a = problem confining an application when a user runs the application = directly.  On our system I have removed the unconfined domain and = unconfined user.  When the system initializes the confined = applications run in the correct confined domains.  However, if I = use ssh to access the server, stop an application, and then start the = application again, the application will run with the label sshd_t.  = I haven’t tried starting a confined application from a local = console but I’ll probably encounter a similar problem.  How = should I modify the policy to allow a confined user to execute an = application but  also have the application run in the = application’s confined domain?

 

Kim

 

------=_NextPart_000_026B_01CF4D91.0E135B60--