So sprach Chmouel Boudjnah am Tue, May 22, 2001 at 11:55:23AM +0100:
> yup but here we speak about default configuration of basic user. but

Understood.  But, as you put it, 'basic users' will do neither.  They won't
mess with their config files, I suppose.  And especially for basic users,
I'd say that the fewer the user config files contain, the better.  Because
if there's nothing in their config files, they cannot break anything.

>    #  If exist a ~/.alias and the user hasn't specified a
>    #  LOAD_SYSTEM_ALIAS variables then don't do any system aliases

Will 'LOAD_SYSTEM_ALIAS' be set by default?  I would hope so, because if
not, it would mean that users might suddenly find themselves without aliases
set just because they (or whoever/whatever) created a file called .alias.

It's nice that a .alias file will be supported, but why should it *disable*
loading of the system aliases?

If a user figures out how to set aliases in the first place, is it really
that far reached to assume that he'll also know about 'unalias'?  If it's
not (which I suppose), then I don't get why aliases shouldn't be put in
/etc/profile.d/alias.sh

> > I'd also think that /etc/skel should be nearly completely empty.
> > Everything should go into systemwide configuration files, 
> 
> yep normally but some thing need to let the user do it.

Parse error :)  I think the current (?) /etc/skel/.bashrc is very nice:

# .bashrc

# User specific aliases and functions
if [ -f ~/.bash_alias ];then
    . ~/.bash_alias
fi

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

That's what it should be like!


Oh, BTW: Would it be possible to add /etc/profile.d/local.{sh,csh}, which
should be empty files which also should never, ever be changed by an RPM
upgrade?  I think the mere existance of these files would make it clear to
people/admins that only this file, and never /etc/profile should be used to
adjust local settings.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
                Uptime: 8 days 7 hours 47 minutes

Reply via email to