Hi!

This works for me, but is it good (securitywise)?

1) Adding these lines to root's .bashrc (having commented the old Xauthority
entry):

eval OLDHOME=~$USER
RCFILE=$OLDHOME/.rootrc
if [ -e $RCFILE ] 
       then source $RCFILE
fi

2) Creating a file in each user's ~/ called '.rootrc' with this line:

export XAUTHORITY=$OLDHOME/.Xauthority

Regards

tom

-- 
"The Cathedral and the Bizarre"
Thomas 'tom' Berger, [EMAIL PROTECTED]
----MandrakeUser.Org-Webservant----
UMS: +49-(0)89-1488-208756 fon: +49-(0)30-45809013

Reply via email to