Re: Konsole ls colors when root




Sybren Stuvel wrote:
heavytull enlightened us with:
when I start my linux box I login as a common user or root.
under the X in a shell or directly under the VT when I type ls I get
the results in color and it is very nice!

but when still under the same session I login as another user by
typing su "usename" ls won't output with colors anymore :((

i even tried to copy the /etc/DIR_COLORS in the user home directory,
that doesn't change anything

The actual probem is that su does not load the aliases per user.

Try 'su - user' instead of 'su user'.

that's it

thanks



Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa

.



Relevant Pages

  • Re: test
    ... On Thu, 9 Dec 2004, Sybren Stuvel wrote: ... > Come back here once you know your usenet client is working, ... > happily help you, ... > The problem with the world is stupidity. ...
    (comp.os.linux)
  • Re: Commercial Programming
    ... you for the help swaying my decision. ... "Sybren Stuvel"> In that case, I'd really go with Mark's idea of turning it ... (MSIE is really bad with CSS support, ... The problem with the world is stupidity. ...
    (comp.lang.python)
  • Re: pdf files and Internet explorer (created on Mandrake)
    ... Sybren Stuvel wrote: ... > The problem with the world is stupidity. ... and dismissively attributed the problem to malformed .pdf files. ... and the later adobe reader versions. ...
    (alt.os.linux)
  • Re: Web + Email server bundle
    ... Sybren Stuvel wrote: ... >> No matter how much it sucks, there are applications that will only ... > The problem with the world is stupidity. ...
    (alt.os.linux)
  • Re: Saving running program to a file.
    ... > If you're running from a shell, try CTRL Z to interrupts it, you can ... The problem with the world is stupidity. ...
    (alt.os.linux)