SV-226965r603265_rule
V-226965
SRG-OS-000480
GEN005220
CAT II
10
Create an X*.hosts file, where * is a display number that may be used to limit X window connections. Add the list of authorized X clients to the file.
Determine if the X server is running.
Procedure:
# ps -ef |grep X
Determine if xauth is being used.
Procedure:
# xauth
xauth> list
If the above command sequence does not show any host other than the localhost, then xauth is not being used.
Search the system for an X*.hosts files, where * is a display number that may be used to limit X window connections. If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding.
If both xauth and X*.hosts files are not being used, this is a finding.
V-226965
False
GEN005220
Determine if the X server is running.
Procedure:
# ps -ef |grep X
Determine if xauth is being used.
Procedure:
# xauth
xauth> list
If the above command sequence does not show any host other than the localhost, then xauth is not being used.
Search the system for an X*.hosts files, where * is a display number that may be used to limit X window connections. If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding.
If both xauth and X*.hosts files are not being used, this is a finding.
M
4060