[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apt-get kapputt



Udo Mueller schrieb:
> Ich hab die Erfahrung gemacht, daß keine .bash_profile existieren
> darf im Home von root. 

Das hat einen einfachen Grund, dessen Erklärung sich im Kleingedruckten 
in "man bash" versteckt:

"After reading that file, it looks for ~/.bash_profile, ~/.bash_login, 
and ~/.profile, in that order, and reads and executes commands from the 
first one that exists and is readable."

Das heisst, wenn man .bash_profile/_login anlegt, wird das vorhandene 
.profile nicht mehr ausgewertet und das übliche Environment fehlt.

-- 
rainer@ellinger.de



Reply to: