[CentOS] freenx

Tue Jan 24 15:10:30 UTC 2006
Craig White <craigwhite at azapple.com>

On Tue, 2006-01-24 at 10:41 +0100, Maciej Żenczykowski wrote:
> >> Doesn't that file exist?  Or is this really a SELinux access
> >> error?
> 
> # ls -Zald / /var /var/lib /var/lib/nxserver \
> /var/lib/nxserver/home /var/lib/nxserver/home/.ssh \
> /var/lib/nxserver/home/.ssh/authorized_keys2
> 
> drwxr-xr-x  25 system_u:object_r:root_t         root root /
> drwxr-xr-x  31 system_u:object_r:var_t          root root /var
> drwxr-xr-x  29 system_u:object_r:var_lib_t      root root /var/lib
> drwx------   4 system_u:object_r:var_lib_t      nx   root /var/lib/nxserver
> drwx------   4 root:object_r:var_lib_t          nx   root /var/lib/nxserver/home
> drwx------   2 root:object_r:var_lib_t          nx   root /var/lib/nxserver/home/.ssh
> -rw-r-----   1 root:object_r:var_lib_t          nx   root /var/lib/nxserver/home/.ssh/authorized_keys2
> 
> Make sure all the permissions are correct...
----
# ls
-Zald /var /var/lib /var/lib/nxserver/home /var/lib/nxserver/home/.ssh
drwxr-xr-x  26 system_u:object_r:var_t          root root 4096 Sep 11
06:09 /var
drwxr-xr-x  26 system_u:object_r:var_lib_t      root root 4096 Jan 24
08:03 /var/lib
drwx------   4 root:object_r:var_lib_t          nx   root 4096 Jan 24
08:03 /var/lib/nxserver/home
drwx------   2 root:object_r:var_lib_t          nx   root 4096 Jan 24
08:03 /var/lib/nxserver/home/.ssh

# ls -Zl /var/lib/nxserver/home/.ssh/
total 32
-rw-r-----  1 root:object_r:var_lib_t          nx root 611 Jan 24 08:03
authorized_keys2
-rw-------  1 root:object_r:var_lib_t          nx root 668 Jan 24 08:03
client.id_dsa.key
-rw-r--r--  1 root:object_r:var_lib_t          nx root 220 Jan 24 08:03
known_hosts
-rw-------  1 root:object_r:var_lib_t          nx root 611 Jan 24 08:03
server.id_dsa.pub.key

Looks OK to me

Craig