<?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 FTP Access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461642#M533085</link>
    <description>Hi Experts, I have to enable to ftp access to user, He has raised an ticket for that. I am able to access the server via ftp.&lt;BR /&gt;===============================================&lt;BR /&gt;When i go to /etc/ftpd i find two directories.&lt;BR /&gt;#cd /etc/ftpd&lt;BR /&gt;#ls -l &lt;BR /&gt;dr-xr-xr-x   2 bin  bin Mar  8  2004 ftp-exec&lt;BR /&gt;dr-xr--r--   2 bin  bin Mar  8  2004 pids&lt;BR /&gt;===============================================&lt;BR /&gt;Please let me know the steps that i need to follow&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Jul 2009 03:55:26 GMT</pubDate>
    <dc:creator>Sarwan</dc:creator>
    <dc:date>2009-07-17T03:55:26Z</dc:date>
    <item>
      <title>FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461642#M533085</link>
      <description>Hi Experts, I have to enable to ftp access to user, He has raised an ticket for that. I am able to access the server via ftp.&lt;BR /&gt;===============================================&lt;BR /&gt;When i go to /etc/ftpd i find two directories.&lt;BR /&gt;#cd /etc/ftpd&lt;BR /&gt;#ls -l &lt;BR /&gt;dr-xr-xr-x   2 bin  bin Mar  8  2004 ftp-exec&lt;BR /&gt;dr-xr--r--   2 bin  bin Mar  8  2004 pids&lt;BR /&gt;===============================================&lt;BR /&gt;Please let me know the steps that i need to follow&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 03:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461642#M533085</guid>
      <dc:creator>Sarwan</dc:creator>
      <dc:date>2009-07-17T03:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461643#M533086</link>
      <description>Hi Sarwan,&lt;BR /&gt;&lt;BR /&gt;By default ftp access will be given to all the users except the users listed in /etc/ftpd/ftpusers file. So make sure that the user name is not listed in /etc/ftpd/ftpusers file.&lt;BR /&gt;&lt;BR /&gt;Also make sure that the user shell is listed in /etc/shells file.&lt;BR /&gt;&lt;BR /&gt;No need to do anything else.&lt;BR /&gt;&lt;BR /&gt;If you get any errors when the user do ftp post it.</description>
      <pubDate>Fri, 17 Jul 2009 04:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461643#M533086</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-17T04:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461644#M533087</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;For more clarity, these are the points you need to check.1. Verify .netrc in the user's home directory.&lt;BR /&gt;If the .netrc file contains password or account information for use&lt;BR /&gt;other than for anonymous ftp, its owner must match the effective&lt;BR /&gt;user ID of the current process. Its read, write, and execute&lt;BR /&gt;permission bits for group and other must all be zero, and it must&lt;BR /&gt;be readable by its owner. Otherwise, the file is ignored.&lt;BR /&gt;&lt;BR /&gt;So if you are unsure about this file, rename it to .netrc.old for&lt;BR /&gt;troubleshooting purposes.&lt;BR /&gt;&lt;BR /&gt;2. Check /etc/ftpd/ftpusers.&lt;BR /&gt;ftpd rejects remote logins to local user accounts that are named&lt;BR /&gt;in /etc/ftpd/ftpusers. Each restricted account name must appear&lt;BR /&gt;alone on a line in the file. The line cannot contain any white&lt;BR /&gt;space.&lt;BR /&gt;&lt;BR /&gt;User accounts that specify a restricted login shell in /etc/passwd&lt;BR /&gt;should be listed in /etc/ftpd/ftpusers because ftpd accesses local&lt;BR /&gt;accounts without using their login shells.&lt;BR /&gt;&lt;BR /&gt;3. You need to add or verify /etc/shells.&lt;BR /&gt;&lt;BR /&gt;/bin/sh&lt;BR /&gt;/bin/rsh&lt;BR /&gt;/bin/ksh&lt;BR /&gt;/bin/rksh&lt;BR /&gt;/bin/csh&lt;BR /&gt;/bin/pam&lt;BR /&gt;/bin/posix/sh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/rsh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/rksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/usr/bin/keysh&lt;BR /&gt;&lt;BR /&gt;All shells referred to in /etc/passwd or in the NIS passwd map should be valid shells or links on this system and be listed in&lt;BR /&gt;/etc/shells.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also confirm if any special character are there in the user password...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 04:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461644#M533087</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-17T04:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461645#M533088</link>
      <description>Hi Ganeshan,&lt;BR /&gt;thanks for your reply.&lt;BR /&gt;When i check there is no /etc/ftpd/ftpuser file,&lt;BR /&gt;i am able to do ftp to that server as a root&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 04:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461645#M533088</guid>
      <dc:creator>Sarwan</dc:creator>
      <dc:date>2009-07-17T04:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461646#M533089</link>
      <description>This is a HP-UX 11.23 and i don't see any file or directory as /etc/shell also</description>
      <pubDate>Fri, 17 Jul 2009 04:26:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461646#M533089</guid>
      <dc:creator>Sarwan</dc:creator>
      <dc:date>2009-07-17T04:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461647#M533090</link>
      <description>Hi Sarwan,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;When i check there is no /etc/ftpd/ftpuser file&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Note the file name is "/etc/ftpd/ftpusers" not "/etc/ftpd/ftpuser"&lt;BR /&gt;&lt;BR /&gt;Have you tried to ftp as that user? if so what is the error you are getting?</description>
      <pubDate>Fri, 17 Jul 2009 04:28:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461647#M533090</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-17T04:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461648#M533091</link>
      <description>no that was a typo error from my side but the file doesn't exists&lt;BR /&gt;&lt;BR /&gt;root# more /etc/ftpd/ftpusers&lt;BR /&gt;/etc/ftpd/ftpusers: No such file or directory&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Jul 2009 04:35:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461648#M533091</guid>
      <dc:creator>Sarwan</dc:creator>
      <dc:date>2009-07-17T04:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461649#M533092</link>
      <description>Hi Sarwan,&lt;BR /&gt;&lt;BR /&gt;Then the user should be able to ftp. Can you post the error if the user gets any?</description>
      <pubDate>Fri, 17 Jul 2009 05:18:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461649#M533092</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-07-17T05:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461650#M533093</link>
      <description>Hi Ganesh, I found the issue. When i spoke with user he said he got an password error. It was not anything to do with system configuration. I created a test ID and tried it was working fine. changed users passwd and tried but was not working. Changed users shell from /bin/ksh to /usr/bin/ksh. Now it was fine.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Jul 2009 05:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461650#M533093</guid>
      <dc:creator>Sarwan</dc:creator>
      <dc:date>2009-07-20T05:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461651#M533094</link>
      <description>&amp;gt;Changed users shell from /bin/ksh to /usr/bin/ksh.&lt;BR /&gt;&lt;BR /&gt;You can also put these other shell paths into /etc/shells.  See shells(4).</description>
      <pubDate>Mon, 20 Jul 2009 08:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461651#M533094</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-20T08:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461652#M533095</link>
      <description>That's it. If the user's shell does not *exactly* match one of the lines in /etc/shells, ftpd will deny access for that user.&lt;BR /&gt;&lt;BR /&gt;If /etc/shells does not exist, the standard default list (documented in "man getusershell") is used instead:&lt;BR /&gt;&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/usr/bin/sh&lt;BR /&gt;/usr/bin/rsh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/usr/bin/rksh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/usr/bin/keysh&lt;BR /&gt;&lt;BR /&gt;Yes, /bin/ksh refers to the same file as /usr/bin/ksh on HP-UX. The ftpd does not care: if it does not find a matching string in /etc/shells (or in the default list), the user is denied access.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 20 Jul 2009 08:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/4461652#M533095</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-07-20T08:31:18Z</dc:date>
    </item>
  </channel>
</rss>

