Konsole ls colors when root



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.

.



Relevant Pages

  • Re: "No Shell"
    ... There is simply no need to login as root - ever, ... > you don't have to guard(and spread) root's password anymore. ... And change the shell or whatever it s/he just well damn ... Other than that nothing else should depend on root shell, ...
    (comp.unix.admin)
  • [opensuse] Re: Opensuse still not ready for consumers...
    ... Having a login shell doesn't mean it's possible to log in. ... or to use su to become that user without being root to begin with. ... Typically the vendor access is also set up to sudo to root ...
    (SuSE)
  • Re: unable to logon after updating ports collection - Freebsd 7.1 stable
    ... I can't login with my useraccount and even not logon as ... set a new root password; ... Might I add the tempting and tendancy to change root's shell to a non-base shell. ...
    (freebsd-questions)
  • Re: no root login after changing shell
    ... no root login after changing shell ... partition I think you will also need to mount this for vi and such... ...
    (freebsd-questions)
  • Re: New and Strange output at f9 root login
    ... upon login to my f9 system as root. ... The numbers on the right change with each login. ... background if $PS1 is not set. ... but I suppose it depends on the shell being used ...
    (Fedora)