Bug 615838 - Unable to execute xauth when using ssh -Y
Unable to execute xauth when using ssh -Y
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-07-19 00:26 EDT by Ignacio Vazquez-Abrams
Modified: 2010-08-20 06:11 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-20 06:11:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ignacio Vazquez-Abrams 2010-07-19 00:26:51 EDT
Description of problem:
When using ssh -Y, SELinux prevents xauth from being executed on the server.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. Try to use ssh -Y to ssh into a F12 machine
Actual results:
"sh: /usr/bin/xauth: Permission denied"

type=SELINUX_ERR msg=audit(1279513152.238:190): security_compute_sid:  invalid context system_u:system_r:xauth_t:s0-s0:c0.c1023 for scontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xauth_exec_t:s0 tclass=process

Expected results:
Should work

Additional info:
Comment 1 Miroslav Grepl 2010-07-19 09:28:20 EDT
Could you add your output of the following command

ps -eZ | grep sshd

on F12 machine.

Note You need to log in before you can comment on or make changes to this bug.