Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0005438: rshd and SELinux : context problem

$
0
0
SELinux context of commands run with rshd is sometime incorrect.<br /> <br /> With MyServer being a correctly labeled CentOS-6.2 system,<br /> this command performs as expected :<br /> $ rsh MyServer<br /> $ id -Z # this is executed from the shell on MyServer<br /> unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023<br /> <br /> But this command shows incorrect context :<br /> $ rsh MyServer id -Z<br /> system_u:system_r:unconfined_t:s0-s0:c0.c1023<br /> <br /> This can cause deny of execution by SELinux, for example in<br /> $ rsh MyServer xauth list<br /> or command1 | rsh MyServer command2, like :<br /> $ echo test | rsh MyServer "sed -e 's/$/ succesfull/'"

Viewing all articles
Browse latest Browse all 19115

Trending Articles