Q: easy su

Gene Heskett gene.heskett at verizon.net
Mon Aug 28 18:01:38 UTC 2006


On Monday 28 August 2006 13:48, D. R. Evans wrote:
>I get very fed up of typing my silly password all the time when I'm
>doing admin type stuff.
>
>How does one get "su" to work the way it has historically done in *NIX
>(and does work in Mdv and other distros I've tinkered with over the
>years)?
>
>I have a password assigned to root, and can easily get to be the
>super-user by typing "su" and the root password. But once I am root I
>can't edit anything, because when I try to run emacs, here's what
>happens:
>
>-----
>
>[H:~] su
>Password:
>root at homebrew:/home/n7dr# emacs
>Xlib: connection to ":0.0" refused by server
>Xlib: No protocol specified
>
>emacs: Cannot connect to X server :0.0.
>Check the DISPLAY environment variable or use `-d'.
>Also use the `xhost' program to verify that it is set to permit
>connections from your machine.
>
>root at homebrew:/home/n7dr#
>
You didn't use the 'su -' option, which gives you the root environment, 
paths etc.

>-----

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.




More information about the kubuntu-users mailing list