This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ssh config


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]