sshd default user PATH

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Aug 19 10:58:00 GMT 2014


On Aug 19 09:08, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > That means the patch to sshd isn't that important.  Nevertheless, I
> > just released cygrunsrv-1.60-1, which prepends /bin to $PATH.
> > 
> > Funny enough, the README file claimed that /bin gets prepended to $PATH
> > since the early days.  Just the actual code didn't follow suit :-P
> 
> The help output from the command still talks about adding it to PATH, so
> that may actually have been intentional: prepending /bin might mess up
> things if someone actually wants to get something in front.  All things
> considered, I suggest that cygrunsrv doesn't fiddle with the PATH if an
> explicit PATH environment has been given on the command line, ...

Sounds like a good idea to me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140819/6729330d/attachment.sig>


More information about the Cygwin mailing list