On Wed, Sep 10, 2003 at 09:58:55AM +0300, avraham.rosenberg wrote: > Hi, > I am using Debian 30r1 both at home and at work. In both cases the > system > was installed from a CDROM copy bought from Lior. At home, because the > computer is not connected directly to the internet and at work because I > am behind a firewall and it took me some time to find out the name of the > proxy server and to configure get-apt. In the meantime I bought the set of > 7 CDROMS from a site in the US, installed all that I needed and started > using it. > In the meantime I configured apt at work to fetch the files from some ftp > and http servers and started to learn how to obtain there the > packages that I need for my home computer (apt-get offline method). But > yesterday, without (knowingly) doing anything wrong, bash announced me > (root) that it does not know the command apt-get. > A rapid check showed that all sbin directories have disappeared from my > root path. A rapid fix was to add them manually, and insert this line also > in the .bash_profile of the root. But I would like to find out where the > init process changed, resulting in the mangled path. And why. > Any suggestions.
On my "stable" debian (orignally potato, upgraded to woody) the path of root is set in /root/.profile . There is no /root/.bash_profile . One speculation: if you created any /root/.bash_profile it has overriden /root/.profile . -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]