Operating System - Linux
1828200 Members
2253 Online
109975 Solutions
New Discussion

Re: rsh Your default context is root:system_r:unconfined_t.

 
Kevin_peng
Advisor

rsh Your default context is root:system_r:unconfined_t.

In REHEL ES4.0 Update4 ,when I use rsh comsole will show as follows,(secure linux)
Your default context is root:system_r:unconfined_t.
Do you want to choose a different one? [n]

How can I config if I don't want see this message.I have modified /etc/pam.d/su,but it not work.(is it need reboot?)

4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: rsh Your default context is root:system_r:unconfined_t.

Shalom,

This is not an error. It can be ignored unless your applications are suffering.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kevin_peng
Advisor

Re: rsh Your default context is root:system_r:unconfined_t.

I see,it's not error.but ,my script will failed.
Robert Walker_8
Valued Contributor

Re: rsh Your default context is root:system_r:unconfined_t.

Gday,

We had a similar problem although for su - used by startup scripts (Eg Oracle). Under /etc/pam.d/su there is the following line:

session required /lib/security/$ISA/pam_selinux.so open multiple

If you remove the selinux multiple option the default context question is restrained - important for init.d scripts doing su.

As for rsh - we use ssh which we havent seen problems with.

Robert.
Moizg
Occasional Contributor

Re: rsh Your default context is root:system_r:unconfined_t.

Hi Kevin,

Just disable the SeLinux in the /etc/selinux/config, if you are not going to use selinux for any security purpose.

This will solve your problem..


Cheers!
Moiz