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

Re: start-stop-daemon on Debian



On Thu, Apr 15, 1999 at 10:22:29AM +0300, Brock Rozen wrote:
: 
: Someone mentioned to me that most of the scripts have a line at the top
: like:
: 
: PATH=/sbin:/usr/sbin
: 
: Is there any way that this could be changed?

If you read ssh(1) and grep for `environment' you'll find

       Additionally,     ssh     reads    /etc/environment    and
       $HOME/.ssh/environment, and adds lines of the format  VAR­
       NAME=value  to  the  environment.   Some  systems may have
       still additional mechanisms for setting  up  the  environ­
       ment, such as /etc/default/login on Solaris.

.. so you can create remote:~/.ssh/environment with your sbin paths in ...

    Best Regards from Dresden/Germany
    Viele Gruesse aus Dresden
    Heiko Schlittermann
-- 
[internet & unix support ----------------- Heiko Schlittermann]
[<a href="http://debian.schlittermann.de/";> Debian 2.1 CD </a>]
[Heiko Schlittermann HS12-RIPE finger:heiko@schlittermann.de -]
[pgp: A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 -------]


Reply to: