Bug 20418

Summary: RFE: .bashrc
Product: [Retired] Red Hat Linux Reporter: Gerald Teschl <gt>
Component: rootfilesAssignee: Bill Nottingham <notting>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: dr, pekkas, rvokal
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-07 12:42:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Teschl 2000-11-06 12:46:07 UTC
What about adding
----------
if echo $PATH | grep -vq sbin
then
       PATH=$PATH:/sbin:/usr/sbin
 fi
----------
to .bashrc. I find this useful if I do "su" rahter than
"su -" since I want to stay in the same directory.

In addition, what about adding a .gnupg/pubring.gpg
containing the RedHat key?

Comment 1 Pekka Savola 2000-11-06 20:33:03 UTC
Seconded.  Many people aren't really aware of 'su -', so this would be a nice addition.

Personally, I always add the RH key to root's public keyring.  Adding this might be a little more
problematic than .bashrc though.


Comment 2 Daniel Roesen 2000-11-07 12:42:15 UTC
Hm, I don't think changing su semantics is a good idea. The idea of su with "-" 
is to leave environment intact. Yes, having sbins in PATH for su without "-" is 
convenient, but... :->

I second the request for a root pubring containing RH's key.

Comment 3 Bill Nottingham 2001-01-30 21:04:59 UTC
I'd agree that changing the semantics of su is probably not good.

As for the keyring, I'm more comfortable with leaving it out;
up2date and the like always prompt to add it anyway.

Comment 4 Daniel Roesen 2001-01-30 21:17:31 UTC
Where do you see the problem with including the key? There are people like me
who will never use up2date. And distributing the key on the official CDs and
ISOs is more secure than getting the key from
http://www.redhat.com/about/contact/pgpkey.html (which is not even SSL-secured).