[PATCH] "Include" option for ssh configs

Jefferson Ogata Jefferson.Ogata at noaa.gov
Wed Mar 25 04:57:50 EST 2009


On 2009-03-24 17:39, Gavin Beatty wrote:
> On Tue, Mar 24, 2009 at 5:15 PM, Jefferson Ogata
> <Jefferson.Ogata at noaa.gov> wrote:
>> On 2009-03-24 17:07, Gavin Beatty wrote:
>>> - Fallbacks to /home/$USER are implemented for when struct passwd.pw_dir is
>>>   NULL² after these calls.
>> That is a not such a hot idea. You don't know what /home/ is. On some
>> systems it's an NFS mount.
> 
> It's a rather throwaway feature. If it's wanted, keep it. I thought
> about gutting it out myself. Just delete two `else if' blocks whole.
> 
> PS: I don't understand the significance of NFS in your example. The
> probability of ~/.ssh/config also being on said NFS mount is near one.

It's nowhere near one.

Solaris traditionally uses /export/home for local home directories, and
/home is an NFS mount point. IRIX traditionally uses /usr/people for
home directories. Please don't make Linux-centric assumptions about
people's filesystem layouts in a portable remote shell program.

-- 
Jefferson Ogata <Jefferson.Ogata at noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt at noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service


More information about the openssh-unix-dev mailing list