Bug 129112 - aliases not performing for other than account holder
Summary: aliases not performing for other than account holder
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
medium
low
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Ben Levenson
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-04 04:42 UTC by Scott Talbot
Modified: 2007-11-30 22:10 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Scott Talbot 2004-08-04 04:42:48 UTC
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 08:50:29 UTC
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 13:07:00 UTC
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 14:17:24 UTC
Thanks, fixed in 5.2.1-19.


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