Operating System - Linux
1828474 Members
2830 Online
109978 Solutions
New Discussion

rsh without password not working

 
SOLVED
Go to solution
Nido
Trusted Contributor

rsh without password not working

Hi,

Under /var/log/messages, I'm getting following message: which is preventing rsh without password.

Jun 29 20:46:35 rhel5 setroubleshoot: SELinux is preventing access to files with the label, file_t. For complete SELinux messages. run sealert -l ac8f57c4-18c4-4c9e-b14b-7a4cd917f44a
Jun 29 20:46:35 rhel5 setroubleshoot: SELinux is preventing access to files with the label, file_t. For complete SELinux messages. run sealert -l 8dee7dee-43c5-46cf-8a14-4ddb594032e2

running "sealert" says the following to fix the issue:
"touch /.autorelabel; reboot"

Is there any other way to fix the issue without rebooting the system? And, Will labelling the system fix the issue. Please suggest.

Thanks,
" Let Villagers Be Happy!! "
2 REPLIES 2
Steven E. Protter
Exalted Contributor
Solution

Re: rsh without password not working

Shalom,

No.

Changes to SELINUX policy require a reboot.

To use rsh at all on a system locked down with SELINUX is to say the least a contradiction in terms.

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
Nido
Trusted Contributor

Re: rsh without password not working

Steven,

Thanks for the suggestion, You're correct, its better to turn-off SELinux if using rsh.

Thanks Again,
" Let Villagers Be Happy!! "