Bug 129112 - aliases not performing for other than account holder
aliases not performing for other than account holder
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: bash (Show other bugs)
rawhide
All Linux
medium Severity low
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-04 00:42 EDT by Scott Talbot
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 5.2.1-19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-04 10:17:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Scott Talbot 2004-08-04 00:42:48 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040625

Description of problem:
Aliases sourced via /etc/bashrc not enabled after issuing su to any
other user.

Version-Release number of selected component (if applicable):
bash-3.0-1

How reproducible:
Always

Steps to Reproduce:
1.start term
2.issue su to another user
3.enter ls
    

Actual Results:  formatted list of files and directories in columns 

Expected Results:  as above, but with expected --color=tty option

Additional info:

All other aliases to the ls command fail to work as they do for the
account logged in.  Problem persists under KDE, but not in Terminal mode.
Fix suggested by Michal Jaegerman to add 'TERM gnome' to
/etc/DIR_COLORS seems to work.
Comment 1 Tim Waugh 2004-08-04 04:50:29 EDT
You need to tell me exactly which commands to run to see this.  What
exactly do you add to /etc/bashrc, and what do you type to change user?
Comment 2 Scott Talbot 2004-08-04 09:07:00 EDT
from gnome or KDE desktop start term:
ls /
(you see a columned list of files, directories and links in colors)
ll
(you see a list in one column of files with permissions, owners, sizes
su -
<enter root password>
ls /
(you see a columned list of files, directories and links all in black)
ll
(you see 'bash: command not found')
------------------------------------
I did not change /etc/bashrc but did edit /etc/DIR_COLORS to add the line:
TERM gnome
to the list of TERM xxx found there
-----------------------------------
To change user I used su - when logged in as myself and su scott when
logged in as root
Comment 3 Tim Waugh 2004-08-04 10:17:24 EDT
Thanks, fixed in 5.2.1-19.

Note You need to log in before you can comment on or make changes to this bug.