<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Issue with sftp accessed by a local user in /etc/passwd in Network and Storage Protocols</title>
    <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104887#M7740</link>
    <description>&lt;P&gt;Hi rwelshman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different paths in the /etc/passwd file under different user names..but unfortunately...all failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;/etc&lt;/P&gt;&lt;P&gt;/vol/vol0/etc&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2015 00:04:51 GMT</pubDate>
    <dc:creator>khcchen</dc:creator>
    <dc:date>2015-05-12T00:04:51Z</dc:date>
    <item>
      <title>Issue with sftp accessed by local users in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104825#M7735</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am having issue to access&amp;amp;nbsp; /etc folder using SFTP for adminitration purpose.&lt;BR /&gt;&lt;BR /&gt;The controller is runing 7-mode 8.1.4p1 with NFS licensed and I used the following page as guidance&lt;BR /&gt;&lt;A target="_blank" href="https://kb.netapp.com/support/index?page=content&amp;amp;amp;id=1012617"&gt;https://kb.netapp.com/support/index?page=content&amp;amp;amp;id=1012617&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, when I tried to connect to the controller by WinSCP/Filezilla, the storage console returned the following messages, and then SFTP connection creation failed.&lt;BR /&gt;[controller01: sshd_1:error]: error: Disconnecting: SFTP connection creation failed&lt;BR /&gt;[controller01:sftp.connection.setup.failed:error]: SFTP (SSH File Transfer Protocol) connection (#72) from client system xx.xx.xx.xx, user sftpuser failed. Reason: Homedir not set&lt;BR /&gt;&lt;BR /&gt;In /etc/passwd, I have created a new sftpuser and specified the the homedirectory&amp;amp;nbsp; /etc:&lt;BR /&gt;&lt;BR /&gt;Also checked by getXXbyYY getpwbyname_r&lt;BR /&gt;pw_dir = /etc&lt;BR /&gt;&lt;BR /&gt;sftp settings..&lt;BR /&gt;options sftp.auth_style unix&lt;BR /&gt;options sftp.dir_override (null)&lt;BR /&gt;options sftp.enable on&lt;BR /&gt;&lt;BR /&gt;ssh.enable on&lt;BR /&gt;ssh1.enable off&lt;BR /&gt;ssh2.enable on&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All other controllers are working...except this one, I tried to compare the settings, re-configured SFTP, created new sftp users, sftp.dir_override directory, but none of them works.&lt;BR /&gt;&lt;BR /&gt;Thanks in advanced.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:20:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104825#M7735</guid>
      <dc:creator>khcchen</dc:creator>
      <dc:date>2025-06-05T04:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104826#M7736</link>
      <description>&lt;P&gt;What is in your nsswitch.conf? Is filer set to uset /etc/passwd for users and in which order?&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 08:57:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104826#M7736</guid>
      <dc:creator>aborzenkov</dc:creator>
      <dc:date>2015-05-11T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104829#M7737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;aborzenkov,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rdfile /etc/nsswitch.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hosts:&amp;nbsp;&amp;#3;files &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;nis &amp;nbsp; &amp;nbsp;dns&lt;/P&gt;&lt;P&gt;passwd: files &amp;nbsp; &amp;nbsp; nis &amp;nbsp; &amp;nbsp;ldap&lt;/P&gt;&lt;P&gt;netgroup: files &amp;nbsp;nis &amp;nbsp; ldap&lt;/P&gt;&lt;P&gt;group: files &amp;nbsp; &amp;nbsp; &amp;nbsp; nis &amp;nbsp; &amp;nbsp;ldap&lt;/P&gt;&lt;P&gt;shadow: files &amp;nbsp; &amp;nbsp; nis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 11:42:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104829#M7737</guid>
      <dc:creator>khcchen</dc:creator>
      <dc:date>2015-05-11T11:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104876#M7739</link>
      <description>&lt;P&gt;I think the home directory should be set to /vol/vol0/etc&amp;nbsp; ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2015 21:05:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104876#M7739</guid>
      <dc:creator>rwelshman</dc:creator>
      <dc:date>2015-05-11T21:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104887#M7740</link>
      <description>&lt;P&gt;Hi rwelshman&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried different paths in the /etc/passwd file under different user names..but unfortunately...all failed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;/etc&lt;/P&gt;&lt;P&gt;/vol/vol0/etc&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 00:04:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104887#M7740</guid>
      <dc:creator>khcchen</dc:creator>
      <dc:date>2015-05-12T00:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104930#M7742</link>
      <description>&lt;P&gt;have you tried setting the sftp.dir_override option to /vol/vol0/etc?&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2015 17:57:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104930#M7742</guid>
      <dc:creator>rwelshman</dc:creator>
      <dc:date>2015-05-12T17:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with sftp accessed by a local user in /etc/passwd</title>
      <link>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104958#M7743</link>
      <description>&lt;P&gt;I tried the following settings, but all failed.&lt;/P&gt;&lt;P&gt;sftp.dir_override&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /&lt;/P&gt;&lt;P&gt;sftp.dir_override&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /vol&lt;/P&gt;&lt;P&gt;sftp.dir_override&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /vol/vol0&lt;/P&gt;&lt;P&gt;sftp.dir_override&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /vol/vol0/etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Done further checking on the sftp log (/etc/log/sftp.cmd), it seems like the path is set to /vol/vol0, instead of&amp;nbsp; /vol/vol0/etc&lt;/P&gt;&lt;P&gt;Ptype&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSH_FXP_INIT Version 3&lt;/P&gt;&lt;P&gt;Ptype SSH_FXP_REALPATH Id 256 Path /vol/vol0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did I miss anything?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2015 00:38:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Network-and-Storage-Protocols/Issue-with-sftp-accessed-by-local-users-in-etc-passwd/m-p/104958#M7743</guid>
      <dc:creator>khcchen</dc:creator>
      <dc:date>2015-05-13T00:38:59Z</dc:date>
    </item>
  </channel>
</rss>

