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: Kevin Rodgers
Subject: Re: different color for root
Date: Thu, 04 Mar 2004 09:00:49 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Fabian Braennstroem wrote:
> I have two different '.emacs' for me and 'root'; mainly just a change in the
> background-color. But starting Emacs for root under xfree does have the same
> color as starting it for me (user). Even uncommenting 'ecb' for root does not
> have any affect, it still loads.
> What do I do wrong?

How are you "starting Emacs for root under xfree"?  I will guess that
you're logged in as yourself, running a shell in an xterm, and then use
su to become root before starting emacs.  In that case, root is the
effective user but you are still the real user.  I think you can solve
your problem by using `su -` so that root is the real user, or by
starting Emacs as `emacs -u root` to load it's .emacs file.

--
Kevin Rodgers



reply via email to

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