<?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: Disabling/Enabling FTP/ Telnet for specific user. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774359#M261909</link>
    <description>Hi Sathyas,&lt;BR /&gt;&lt;BR /&gt;If tou want user can telnet only (can not ftp), add username on /etc/ftpd/ftpusers; if ftpusers file does not exist create this first.&lt;BR /&gt;&lt;BR /&gt;If you eant user can ftp only (can not telnet),  &lt;BR /&gt;1. check to see if you have the file /etc/shells&lt;BR /&gt;a) If you have, edited the file and add&lt;BR /&gt;/bin/false&lt;BR /&gt;b) If not do&lt;BR /&gt;ls /bin/*sh &amp;gt; /etc/shells then add the /bin/false line&lt;BR /&gt;2. create the user for example&lt;BR /&gt;# useradd -c "FTP Only User" -d /home/ftpfiles -m -s /bin/false -g staff "username"&lt;BR /&gt;or change existing user shells to /bin/false&lt;BR /&gt;Doing this by editing /etc/passwd or via command :&lt;BR /&gt;# usermod -s /bin/false "username"&lt;BR /&gt;&lt;BR /&gt;Hope this help.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
    <pubDate>Wed, 19 Apr 2006 23:47:14 GMT</pubDate>
    <dc:creator>yunardi</dc:creator>
    <dc:date>2006-04-19T23:47:14Z</dc:date>
    <item>
      <title>Disabling/Enabling FTP/ Telnet for specific user.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774357#M261907</link>
      <description>Hi experts,&lt;BR /&gt;&lt;BR /&gt;How can one selectively enable or disable FTP or Telnet sessions for specific users?</description>
      <pubDate>Wed, 19 Apr 2006 22:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774357#M261907</guid>
      <dc:creator>Sathyaswarupa</dc:creator>
      <dc:date>2006-04-19T22:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling/Enabling FTP/ Telnet for specific user.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774358#M261908</link>
      <description>For disableing ftp for certain users, add their user names to /etc/ftpd/ftpusers file.&lt;BR /&gt;man ftpusers for details.&lt;BR /&gt;&lt;BR /&gt;For diabling telnet, add following code to /etc/profile OR make use of TCP wrappers. (If you have hp-ux's ssh, then tcp wrappers comes in built with it.)&lt;BR /&gt;&lt;BR /&gt;if [ $LOGNAME -eq "user1" -o $LOGNAME -eq "user2" ];then&lt;BR /&gt;echo "Telnet Not allowed for you"&lt;BR /&gt;exit 1&lt;BR /&gt;else&lt;BR /&gt;echo "Telnet OK&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Apr 2006 23:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774358#M261908</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-04-19T23:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling/Enabling FTP/ Telnet for specific user.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774359#M261909</link>
      <description>Hi Sathyas,&lt;BR /&gt;&lt;BR /&gt;If tou want user can telnet only (can not ftp), add username on /etc/ftpd/ftpusers; if ftpusers file does not exist create this first.&lt;BR /&gt;&lt;BR /&gt;If you eant user can ftp only (can not telnet),  &lt;BR /&gt;1. check to see if you have the file /etc/shells&lt;BR /&gt;a) If you have, edited the file and add&lt;BR /&gt;/bin/false&lt;BR /&gt;b) If not do&lt;BR /&gt;ls /bin/*sh &amp;gt; /etc/shells then add the /bin/false line&lt;BR /&gt;2. create the user for example&lt;BR /&gt;# useradd -c "FTP Only User" -d /home/ftpfiles -m -s /bin/false -g staff "username"&lt;BR /&gt;or change existing user shells to /bin/false&lt;BR /&gt;Doing this by editing /etc/passwd or via command :&lt;BR /&gt;# usermod -s /bin/false "username"&lt;BR /&gt;&lt;BR /&gt;Hope this help.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Wed, 19 Apr 2006 23:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-enabling-ftp-telnet-for-specific-user/m-p/3774359#M261909</guid>
      <dc:creator>yunardi</dc:creator>
      <dc:date>2006-04-19T23:47:14Z</dc:date>
    </item>
  </channel>
</rss>

