[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: different color for root
From: |
Fabian Braennstroem |
Subject: |
Re: different color for root |
Date: |
Thu, 04 Mar 2004 19:48:05 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 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.
Thanks!
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?
Greetings!
--
Fabian Braennstroem
Duesseldorf/Berlin
Re: different color for root, Fabian Braennstroem, 2004/03/08