1827329 Members
5352 Online
109963 Solutions
New Discussion

xauthority

 
Chakravarthi
Trusted Contributor

xauthority

Hi all,

how do i implement xauthority in linux,

i want to restrict users allowing all the hosts to remotely connect using xhost + command,

any inputs,

thanks
chakri
1 REPLY 1
Jan Sladky
Trusted Contributor

Re: xauthority

Hi Chakravarthi

what about change the permissions for xhost command ?

default is
-rwxr-xr-x 1 root root 13368 Apr 6 2004 /usr/X11R6/bin/xhost

so you can create new group (e.g. xhosts)and do chgrp and chmod on xhost

chgrp xhosts /usr/X11R6/bin/xhost

and chmod 754 /usr/X11R6/bin/xhost

Be aware that xhost command is on several places:
/usr/X11R6/bin/xhost
/usr/bin/X11/xhost
/usr/X11/bin/xhost

rgds Jan
GSM, Intelligent Networks, UNIX