$HOME instead of pw->pw_dir question.

Damien Miller djm at mindrot.org
Thu Dec 2 09:39:23 EST 2004


Grzegorz Kryza wrote:
> Hello.
> I have one, small question.
> 
> There are any security reasons to not use a getenv("HOME")
> instead of pw->pw_dir in ssh.c and tildexpand.c to find
> user home directory?

I bet there are users out there who depend on the current
behaviour.

-d




More information about the openssh-unix-dev mailing list