Until this bug can be fixed, I am using the following quick and dirty bash
script to work around the issue. Note, this quick and dirty work around really
is quick and dirty and may have security problems or other issues. The way it
is written requires sudo, but if you don't mind entering passwords multiple
times, it could be used with su -c instead of the first sudo and eliminate the
second sudo in front of the su. I put this script in ~/bin/ as I'm the only
one on my computer that ever needs to be root. I use this script in
conjunction with a custom Konsole profile for whenever I need a root command
line.
This script, as written, gets your xauth magic cookie, asks for your user
password once to add the magic cookie to root's xauth file, then immediately
reuses the sudo authorization to start a root command line.
~/bin/mysux
#!/bin/bash
cookie=`xauth list $DISPLAY`
sudo xauth add $cookie
sudo su -
--
BH
~~~~~~~~~~~~~~~~~~~~
Randomly selected fortune cookie:
Rules for driving in New York:
(1) Anything done while honking your horn is legal.
(2) You may park anywhere if you turn your four-way flashers on.
(3) A red light means the next six cars may go through the
intersection.
~~~~~~~~~~~~~~~~~~~~
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]