help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: different color for root


From: Reiner Steib
Subject: Re: different color for root
Date: Fri, 05 Mar 2004 13:03:47 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

On Fri, Mar 05 2004, Roberto Quiroga wrote:

> Fabian Braennstroem <f.braennstroem@gmx.de> escribió:
>
>> But using 'su -' helps being the real root-user, but emacs starts
>> non-graphical. And 'emacs -u root' does not give me root rights. Do
>> you have a third idea?

Either:

$ su -
# export XAUTHORITY=~fabian/.Xauthority; export DISPLAY=":0";

or:

ssh -X root@localhost

> cube:/home/rquiroga $ xhost + localhost 
> localhost being added to access control list

Very bad idea.  This is a security hole, especially in multi-user
environments.

Fabian, in news:de.comp.os.unix.linux.infos you will find a very good
article (in German) dealing with this.  The subject is "Alle Macht dem
User" or similar.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]