<?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: FTP access in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596297#M854633</link>
    <description>Hello MArk,&lt;BR /&gt;&lt;BR /&gt;you want to an user account who can ftp "in" from the outside, but not login, right?&lt;BR /&gt;Then add the "/bin/false" to your "/etc/shells", and give that user "/bin/false" as his shell.&lt;BR /&gt;That's it!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Oct 2001 14:27:29 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2001-10-17T14:27:29Z</dc:date>
    <item>
      <title>FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596291#M854627</link>
      <description>Does anyone know how setting a user up in SAM in HPUX 11 gives ftp access to the user, but setting up a user from the commandline does not.&lt;BR /&gt;&lt;BR /&gt;I have checked for any differences in the passwd file - there are none. There is also nothing in the ftpusers having any effect on it.&lt;BR /&gt;&lt;BR /&gt;I tried to find out what SAM was doing in the samlog but I gave up after half an hour ....&lt;BR /&gt;&lt;BR /&gt;If anyone can offer any ideas on this I would greatly appreciate it.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 17 Oct 2001 10:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596291#M854627</guid>
      <dc:creator>ICT Infrastructure</dc:creator>
      <dc:date>2001-10-17T10:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596292#M854628</link>
      <description>The only thing you really need to do to set up a user with ftp access is to make sure that the user has a valid shell as defined by /etc/shells.  Not sure if this will help in your situation though.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 17 Oct 2001 11:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596292#M854628</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-17T11:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596293#M854629</link>
      <description>Did you check the file  /var/adm/inetd.sec?? Also, what commands are you using at the commandline to add a new user?</description>
      <pubDate>Wed, 17 Oct 2001 11:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596293#M854629</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-10-17T11:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596294#M854630</link>
      <description>Another possibility, if you are using it, is to make sure the user's ip address is in the /etc/hosts.allow file.  Other than that, I'm boggled at this time.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 17 Oct 2001 11:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596294#M854630</guid>
      <dc:creator>Christopher McCray_1</dc:creator>
      <dc:date>2001-10-17T11:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596295#M854631</link>
      <description>I'm confused about what your question is asking; do you want to:&lt;BR /&gt;&lt;BR /&gt;* know how to set up an ftp only user&lt;BR /&gt;* describing a problem with a user not being able to access ftp?&lt;BR /&gt;&lt;BR /&gt;If the first you need to examine the ftpaccess file.&lt;BR /&gt;&lt;BR /&gt;If the second you need to check a number of files:&lt;BR /&gt;   1) Check that user *isn't* in ftpusers&lt;BR /&gt;   2) Check that the users shell is in /etc/shells (if you don't add the -s switch you'll get /bin/sh as the users shell)&lt;BR /&gt;   3) If used, check whether ftpaccess allows access to that user...&lt;BR /&gt;&lt;BR /&gt;dave</description>
      <pubDate>Wed, 17 Oct 2001 11:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596295#M854631</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2001-10-17T11:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596296#M854632</link>
      <description>As most above has stated, you need to be a little more specific in your question.  What options are you using in the useradd command?  By default, a user created on the system will have ftp access as long as the user has a valid shell in the /etc/shells file and is not in the /etc/ftpd/ftpusers file.&lt;BR /&gt;&lt;BR /&gt;If you would provide more input, I'm sure we can help.&lt;BR /&gt;&lt;BR /&gt;...jcd...</description>
      <pubDate>Wed, 17 Oct 2001 12:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596296#M854632</guid>
      <dc:creator>Joseph C. Denman</dc:creator>
      <dc:date>2001-10-17T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596297#M854633</link>
      <description>Hello MArk,&lt;BR /&gt;&lt;BR /&gt;you want to an user account who can ftp "in" from the outside, but not login, right?&lt;BR /&gt;Then add the "/bin/false" to your "/etc/shells", and give that user "/bin/false" as his shell.&lt;BR /&gt;That's it!&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Oct 2001 14:27:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596297#M854633</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-10-17T14:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: FTP access</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596298#M854634</link>
      <description>Problem Description&lt;BR /&gt;&lt;BR /&gt;How do I configure the new ftpd at HP-UX 11.0 to chroot on certain users?&lt;BR /&gt;&lt;BR /&gt;Configuration Info&lt;BR /&gt;&lt;BR /&gt;Operating System - HP-UX&lt;BR /&gt;Version - 64-bit 11.0&lt;BR /&gt;Hardware System - HP9000&lt;BR /&gt;Series - V2250&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;Use this procedure to configure the new ftpd:&lt;BR /&gt;&lt;BR /&gt;Note: A user will not have the ability to travel anywhere outside&lt;BR /&gt;      of his home directory on the system.  Setting up a bogus&lt;BR /&gt;      shell with exit 0 as the contents will cause the connection&lt;BR /&gt;      of a user to be immediately terminated if the user attempts&lt;BR /&gt;      to telnet into the system.&lt;BR /&gt;&lt;BR /&gt;1. Configure the ftpaccess file:&lt;BR /&gt;&lt;BR /&gt;   a. cd /etc/ftpd&lt;BR /&gt;&lt;BR /&gt;   b. cp -p /usr/newconfig/etc/ftpd/ftpaccess .&lt;BR /&gt;&lt;BR /&gt;   c. vi ftpaccess.  At the bottom of the file there is a guestgroup&lt;BR /&gt;      directive 'guestgroup ftponly'.&lt;BR /&gt;&lt;BR /&gt;       i. Either change that group designation to one you already&lt;BR /&gt;          have or keep that designation.&lt;BR /&gt;&lt;BR /&gt;      ii. If you are keeping the ftponly group, then create that&lt;BR /&gt;          group on your system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Modify the /etc/inetd.conf file to enable the use of the ftpaccess&lt;BR /&gt;   file:&lt;BR /&gt;&lt;BR /&gt;   a. vi /etc/inetd.conf&lt;BR /&gt;&lt;BR /&gt;   b. Add the -a flag to the ftp daemon.&lt;BR /&gt;&lt;BR /&gt;   c. ftp      stream tcp nowait root /usr/lbin/ftpd      ftpd -a -l&lt;BR /&gt;&lt;BR /&gt;4. Make inetd re-read its configuration:&lt;BR /&gt;&lt;BR /&gt;   inetd -c&lt;BR /&gt;&lt;BR /&gt;5. Create a bogus shell for users that will only have FTP access to&lt;BR /&gt;   the system:&lt;BR /&gt;&lt;BR /&gt;   a. vi /usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;   b. exit 0&lt;BR /&gt;&lt;BR /&gt;   c. chmod 555 /usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;   d. chown bin:bin /usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;6. Create an /etc/shells file:&lt;BR /&gt;&lt;BR /&gt;   a. vi /etc/shells&lt;BR /&gt;&lt;BR /&gt;   b. Include these lines in the file:&lt;BR /&gt;&lt;BR /&gt;      /sbin/sh&lt;BR /&gt;      /usr/bin/ksh&lt;BR /&gt;      /usr/bin/sh&lt;BR /&gt;      /usr/bin/csh&lt;BR /&gt;      /usr/bin/rsh&lt;BR /&gt;      /usr/bin/rksh&lt;BR /&gt;      /usr/bin/keysh&lt;BR /&gt;      /bin/sh&lt;BR /&gt;      /bin/ksh&lt;BR /&gt;      /bin/csh&lt;BR /&gt;      /bin/rsh&lt;BR /&gt;      /bin/rksh&lt;BR /&gt;      /usr/bin/ftpshell&lt;BR /&gt;&lt;BR /&gt;7. Now add a user to the system.  Use a group that is 'ftponly' and&lt;BR /&gt;   make the user's shell /usr/bin/ftpshell.&lt;BR /&gt;&lt;BR /&gt;8. Use SAM to limit the user to his home directory by setting up the&lt;BR /&gt;   directory in this form:&lt;BR /&gt;&lt;BR /&gt;   /home/username/./&lt;BR /&gt;&lt;BR /&gt;   Note: The /./ is the important key here.  When the ftpd verifies a&lt;BR /&gt;         user's login, it checks and sees that the user is a member of&lt;BR /&gt;         the 'guestgroup' ftponly.  It then examines the home directory&lt;BR /&gt;         and, if it sees a /./ in the path, it will then perform a chroot&lt;BR /&gt;         to that directory.  Therefore, when that user FTPs into the&lt;BR /&gt;         system, their home directory will appear as the / directory.&lt;BR /&gt;&lt;BR /&gt;9. Provide the user with an ls command:&lt;BR /&gt;&lt;BR /&gt;   a. cd /home/username&lt;BR /&gt;&lt;BR /&gt;   b. mkdir usr&lt;BR /&gt;&lt;BR /&gt;   c. mkdir usr/bin&lt;BR /&gt;&lt;BR /&gt;   d. cp -p /sbin/ls usr/bin&lt;BR /&gt;&lt;BR /&gt;   e. chown -R bin:bin usr&lt;BR /&gt;&lt;BR /&gt;   f. chmod -R 555 usr</description>
      <pubDate>Wed, 17 Oct 2001 14:33:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-access/m-p/2596298#M854634</guid>
      <dc:creator>someone_4</dc:creator>
      <dc:date>2001-10-17T14:33:49Z</dc:date>
    </item>
  </channel>
</rss>

