Re: paths and su

1998-01-03 Thread Adam Klein
On Fri, Jan 02, 1998 at 03:12:37PM -0600, Alex Romosan wrote: however when I su to root I get a path like this... /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin I am not modifying the path in any environment files such as ...bash_profile -- what is

Re: paths and su

1998-01-02 Thread Alex Romosan
however when I su to root I get a path like this... /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin I am not modifying the path in any environment files such as ...bash_profile -- what is resetting my path?? i had the same problem on some of the machines here

Re: paths and su

1997-12-29 Thread Martin Bialasinski
On Tue, 23 Dec 1997, Tim Ferrell wrote: Nope, I double checked this to be sure. I have only aliases in my bashrc files (global, user, and root). I am inclined to think that this is being set by a default config file somewhere though, because of the inclusion of /usr/bin/X11 - I always refer

paths and su

1997-12-23 Thread Tim Ferrell
As a recent Debian convert (from Red Hat) I am finding myself a bit disoriented at times... my latest question concerns su and paths. When I su to root my path does not end up being what I expect it too and I can't figure out exactly what is setting it. I have edited /etc/login.defs to be certain

Re: paths and su

1997-12-23 Thread Bob Nielsen
On Mon, 22 Dec 1997, Tim Ferrell wrote: As a recent Debian convert (from Red Hat) I am finding myself a bit disoriented at times... my latest question concerns su and paths. When I su to root my path does not end up being what I expect it too and I can't figure out exactly what is setting

Re: paths and su

1997-12-23 Thread Tim Ferrell
On 22 Dec, Bob Nielsen let loose with: -- Could it possibly be that the environment when you su is set by -- /root/.bashrc rather than /root/bash_profile? -- -- Bob Nope, I double checked this to be sure. I have only aliases in my bashrc files (global, user, and root). I am inclined to think