[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cygwin-xfree
Subject:    Re: ssh config
From:       "Mark J. Reed" <markjreed () gmail ! com>
Date:       2009-08-19 1:44:49
Message-ID: f60fe000908181844k7234a46bmf374d3ba269fde1f () mail ! gmail ! com
[Download RAW message or body]

Let's clarify something here.

~ is always the same as $HOME.  If you change $HOME - within bash -
then ~ changes too:

$ HOME=/bogus/directory
$ echo ~
/bogus/directory

HOME starts out set to whatever's in /etc/passwd, but you can change
it.  For that reason, security-conscious programs like ssh ignore
$HOME and go by what's in /etc/passwd (which, on a real Unix system,
an unprivileged user can't change).

So changing $HOME is asking for trouble, basically.


-- 
Mark J. Reed <markjreed@gmail.com>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic