On 31/07/15 21:25, [email protected] wrote:
> How do you customize your environment?
> 
> What aliases or custom functions do you use?
> 
> Here's my /etc/profile I think you can find one or two interesting things
> in it.

Ouch - this hits a nerve.

@work, we have a Unix environment where the "powers that be" have put
every little customization into /etc/profile, parsing huge scripts to
setup everything "in their gusto". It takes ages to parse, just for me
to 'unalias' and 'unset' every little crap they put into and setup a
sane prompt.

Remember, users cannot easily avoid having /etc/profile parsed during
login. Thus they cannot avoid getting all the variables and aliases that
you are putting into it.

Please do not recommend putting too much stuff into /etc/profile, the
content of that file should be limited to bare minimum that should be
enforced onto users.

Everything else should go into $HOME/.profile (or /etc/skel/.profile).

Bernd

Reply via email to