<?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: ftponly account with other ftp accounts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955245#M740316</link>
    <description>Try this method:&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;vi /etc/passwd&lt;BR /&gt;Put this contents,&lt;BR /&gt;&lt;BR /&gt;guest1::100:92:Guest Account:/ftp/:/etc/ftponly&lt;BR /&gt;&lt;BR /&gt;Change guest1 to your account name. Change /ftp to some directory.&lt;BR /&gt;&lt;BR /&gt;vi /etc/shells&lt;BR /&gt;/etc/ftponly&lt;BR /&gt;/sbin/sh&lt;BR /&gt;&lt;OTHER shells="" of="" users="" in=""&gt;&lt;BR /&gt;&lt;BR /&gt;Try now. It will work.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OTHER&gt;&lt;/SNIP&gt;</description>
    <pubDate>Fri, 27 Jan 2006 03:18:10 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2006-01-27T03:18:10Z</dc:date>
    <item>
      <title>ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955240#M740311</link>
      <description>Hi all,&lt;BR /&gt;I have some ftp users with telnet facility in a HP-UX system. Now I need a few ftp-only users in the same system under a specified directory. I created ftp-only user successfully. But the problem is after creation of ftp-only user adding a flag to the ftpd daemon, only ftp-only user can access the system other ftp user can not access to the system.&lt;BR /&gt;&lt;BR /&gt;How can existboth type of users?&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jan 2006 04:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955240#M740311</guid>
      <dc:creator>rana786</dc:creator>
      <dc:date>2006-01-26T04:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955241#M740312</link>
      <description>I'd create the users all the same but give the ftp only users no shell access.</description>
      <pubDate>Thu, 26 Jan 2006 16:15:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955241#M740312</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-01-26T16:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955242#M740313</link>
      <description>What is the flag that you added?. If your ftp server is wu-ftp, use the -a and configure ftpaccess to restrict the account to be chrooted. You can use /usr/bin/false as the shell for the user to avoid interactive access.</description>
      <pubDate>Thu, 26 Jan 2006 16:58:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955242#M740313</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-01-26T16:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955243#M740314</link>
      <description>Hello rana786&lt;BR /&gt;What we do is add the following to the profile say if you want ids abcde and fghij to be ftp only&lt;BR /&gt;&lt;BR /&gt;if [[ `logname` = abcde ]] || [[ `logname` = fghij ]]&lt;BR /&gt;then&lt;BR /&gt;    clear&lt;BR /&gt;    echo "****************************"&lt;BR /&gt;    echo "Unauthorized login. Login to id `logname` allowed via ftp or su only."&lt;BR /&gt;    echo "*****************************"&lt;BR /&gt;    echo " "&lt;BR /&gt;    echo "GOODBYE"&lt;BR /&gt;    echo "*****************************"&lt;BR /&gt;    kill -9 $$&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;This should do the trick&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;DP</description>
      <pubDate>Thu, 26 Jan 2006 18:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955243#M740314</guid>
      <dc:creator>Devesh Pant_1</dc:creator>
      <dc:date>2006-01-26T18:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955244#M740315</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I want to create FTP only users and those ftp only users not to change directories. I have created ftp only users and had included the -a option with the ftpd in the inetd.conf file. After adding -a option ftp only users are able to ftp and for other&lt;BR /&gt;the access to ftp is restricted (unable to access). So I have removed the -a option and now the FTP only user can move to other directories other than his home directory. I do not want this. I need to co-exist both normal ftp user and ftp-only user.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Mostafa&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Jan 2006 00:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955244#M740315</guid>
      <dc:creator>rana786</dc:creator>
      <dc:date>2006-01-27T00:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955245#M740316</link>
      <description>Try this method:&lt;BR /&gt;&lt;BR /&gt;/etc/inetd.conf&lt;BR /&gt;ftp          stream tcp nowait root /usr/lbin/ftpd      ftpd -l&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;vi /etc/passwd&lt;BR /&gt;Put this contents,&lt;BR /&gt;&lt;BR /&gt;guest1::100:92:Guest Account:/ftp/:/etc/ftponly&lt;BR /&gt;&lt;BR /&gt;Change guest1 to your account name. Change /ftp to some directory.&lt;BR /&gt;&lt;BR /&gt;vi /etc/shells&lt;BR /&gt;/etc/ftponly&lt;BR /&gt;/sbin/sh&lt;BR /&gt;&lt;OTHER shells="" of="" users="" in=""&gt;&lt;BR /&gt;&lt;BR /&gt;Try now. It will work.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/OTHER&gt;&lt;/SNIP&gt;</description>
      <pubDate>Fri, 27 Jan 2006 03:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955245#M740316</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-27T03:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955246#M740317</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;1) Create a new group "ftponly"&lt;BR /&gt;2) Create a new account belonging to this group "ftpuser"&lt;BR /&gt;3) Give it a NON shell like /usr/bin/false&lt;BR /&gt;4) Put the NON shell in /etc/shel&lt;BR /&gt;5) Edit /etc/ftpd/ftpaccess following "man ftpaccess" instruction&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 27 Jan 2006 03:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955246#M740317</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-27T03:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955247#M740318</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to configure your ftpaccess file and in there you can specify the directory and permissions the file should have.&lt;BR /&gt;&lt;BR /&gt;When adding the users specify the directory location were they will put the data e.g:&lt;BR /&gt;ftpuser:*:999:999: Ftp users:/data/ftp/load/./:/usr/bin/false&lt;BR /&gt;&lt;BR /&gt;Your inetd.conf should be modified:&lt;BR /&gt;Start ftpd with the -a option.&lt;BR /&gt;ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -a&lt;BR /&gt;&lt;BR /&gt;GoodLuck&lt;BR /&gt;&lt;BR /&gt;Darrel</description>
      <pubDate>Fri, 27 Jan 2006 03:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955247#M740318</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2006-01-27T03:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: ftponly account with other ftp accounts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955248#M740319</link>
      <description>Its ok.</description>
      <pubDate>Tue, 31 Jan 2006 04:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftponly-account-with-other-ftp-accounts/m-p/4955248#M740319</guid>
      <dc:creator>rana786</dc:creator>
      <dc:date>2006-01-31T04:42:58Z</dc:date>
    </item>
  </channel>
</rss>

