Hi all.
I'm working with SGD 4.30.915, all my users have a unique world writable HOME directory, and of course, I have problems when the xauth command try to create the .Xauthority file.
I have see this information.
http://docs.sun.com/source/819-4309-10/xauth.html#path
This document says that we must to edit the procs.exp file and change a line.
In my version, this line doesn's exists, I have tried to solve the problem editing the xauth.exec file, changin the following line at the end of the file.
....
execute "$xauthcmd\n"
....
for this line
....
execute "$xauthcmd -f /export/home/usuarios/.xauth-$username\n"
....
But it doesn't mind, the xauth command always create the .Xauthority file, instead the .xauth-$username file. I try to write the XAUTHORITY environment variable in the /etc/profile, inserting this 3 lines:
XAUTHORITY=$HOME/.xauth-$LOGNAME
export XAUTHORITY
echo $XAUTHORITY
When I launch the X application, If I click on details, I see this:
Initialissing...
Logging in to the Application Server ...
Starting the Application...
Password:
Last login .....
/usr/openwin/bin/xauth: Creating /...../.Xauthority
/export/home/usuarios/.xauth-usuario
...
Like you can see, the xauth command is execute before the /etc/profile.
Please, any body know how to pass the directory to write the .Xauthority file?, any trick?
I have disconfigure the "Use X authorization (xauth) under the Security section in the Array Manager, but the applications give me errors too.
Thanks.