On Wed, May 09, 2007 at 01:00:02PM +0200, Roland Mainz wrote:
> How would you "update" the installed ~/.profile , ~/.kshrc or ~/.bashrc
> files ? [...]
Q: How would you update /etc/profile et. al. in the future when you want
to change them again?
Answer: You can't; you can only replace their content (thus overwriting
customer editable content) or leave them alone (thus not
delivering whatever feature).
That won't do. The /etc/skel files, on the other hand, are more easily
updateable as they only affect new accounts.
AND you can do better than /etc/skel files too!
Build the better PAGER/MANPATH defaults into man(1), repeat for all
tools whose defaults you wish to change, including the shells. This is
easily upgradeable too: just change the programs.
Nico
--