Hi,

On Sat, 24 Jun 2000, Charles Curley wrote:

> I suspect you want to take out the initial hyphen. Here is what I use to
> start up the distributed net daemon:
>
> # dnetc 2000 06 21 16:19:34
> pushd /home/dnetc/bin
> su dnetc -c \"./dnetc\" -s /bin/bash
> popd
>
> Your initial hyphen tells su to run the login sequence, e.g. run the
> .bash_profile, etc.

This doesn't work for me. I just don't understand why su doesn't load
the user's profile. What's the point of the -c option if it doesn't load
the profile with the correct PATH settings, etc. ?!?

Thanks,

Jasper

Reply via email to