Re: Konsole ls colors when root
- From: "Chris F.A. Johnson" <cfajohnson@xxxxxxxxx>
- Date: Mon, 17 Jul 2006 17:54:24 -0400
On 2006-07-17, heavytull wrote:
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.
Use:
su - "username"
--
Chris F.A. Johnson, author | <http://cfaj.freeshell.org>
Shell Scripting Recipes: | My code in this post, if any,
A Problem-Solution Approach | is released under the
2005, Apress | GNU General Public Licence
.
- References:
- Konsole ls colors when root
- From: heavytull
- Konsole ls colors when root
- Prev by Date: Konsole ls colors when root
- Next by Date: Re: Konsole ls colors when root
- Previous by thread: Konsole ls colors when root
- Next by thread: Re: Konsole ls colors when root
- Index(es):
Relevant Pages
|