What about adding
if echo $PATH | grep -vq sbin
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?
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.
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.
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.
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).