[plug] login to root
James Devenish
devenish at guild.uwa.edu.au
Fri Mar 12 13:39:55 WST 2004
In message <20040312052945.GV1219 at postoffice.wa.bom.gov.au>
on Fri, Mar 12, 2004 at 01:29:45PM +0800, Russell Steicke wrote:
> On Fri, Mar 12, 2004 at 01:18:02PM +0800, James Devenish wrote:
> > $XAUTHORITY gets set to your existing cookie file. I'd never noticed
> > that before, although I've always taken it for granted. Thanks to Craig
> > for making that realisation 'click' in my head.
> Not here:
> $ sudo sh -c 'echo $XAUTHORITY'
> $
Ooops! Apologies. My fault. Apparently, I must have "researched" this
some years ago (November 2001, according to my CVS logs). I
intentionally have $HOME moved to the new user but $XAUTHORITY
defined for with the old $HOME in my .zshenv.
> However, $HOME is still set to /home/russells (not /root), so the
> existing .Xauthority (cookie file) is accessible.
Apologies to everyone -- listen to Russell.
More information about the plug
mailing list