<?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 ftpd:  FTP LOGIN REFUSED (bad shell) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575094#M31029</link>
    <description>hello again,&lt;BR /&gt;&lt;BR /&gt;now that i got ksh back after a "fat fingers" incident, i may as well post the "root of the problem" that i was trying to resolve.  i have a linux box running ypserv as the master server for my network.  my hp boxes are nis clients and are getting the host, passwd, netgroup maps from the master.&lt;BR /&gt;&lt;BR /&gt;i can log in and out of each box, however, whenever i try ftp, i get the following error in /var/adm/syslog/syslog.log:&lt;BR /&gt;&lt;BR /&gt;....FTP LOGIN REFUSED (bad shell)..etc...&lt;BR /&gt;&lt;BR /&gt;i thought this was happening b/c in my passwd map, i have the login shells set to /bin/ksh (which is where most of the boxes on my network have ksh).  however, i'm noticing now that /bin is a symlink to /usr/bin on my hp boxes.  &lt;BR /&gt;&lt;BR /&gt;has anyone else experienced this?  does ftpd not like symlinking?  again, thanks in advance for your assistance.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;edwin "fingers on a diet" rivera</description>
    <pubDate>Tue, 04 Sep 2001 20:17:41 GMT</pubDate>
    <dc:creator>Edwin R. Rivera_1</dc:creator>
    <dc:date>2001-09-04T20:17:41Z</dc:date>
    <item>
      <title>ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575094#M31029</link>
      <description>hello again,&lt;BR /&gt;&lt;BR /&gt;now that i got ksh back after a "fat fingers" incident, i may as well post the "root of the problem" that i was trying to resolve.  i have a linux box running ypserv as the master server for my network.  my hp boxes are nis clients and are getting the host, passwd, netgroup maps from the master.&lt;BR /&gt;&lt;BR /&gt;i can log in and out of each box, however, whenever i try ftp, i get the following error in /var/adm/syslog/syslog.log:&lt;BR /&gt;&lt;BR /&gt;....FTP LOGIN REFUSED (bad shell)..etc...&lt;BR /&gt;&lt;BR /&gt;i thought this was happening b/c in my passwd map, i have the login shells set to /bin/ksh (which is where most of the boxes on my network have ksh).  however, i'm noticing now that /bin is a symlink to /usr/bin on my hp boxes.  &lt;BR /&gt;&lt;BR /&gt;has anyone else experienced this?  does ftpd not like symlinking?  again, thanks in advance for your assistance.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;edwin "fingers on a diet" rivera</description>
      <pubDate>Tue, 04 Sep 2001 20:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575094#M31029</guid>
      <dc:creator>Edwin R. Rivera_1</dc:creator>
      <dc:date>2001-09-04T20:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575095#M31030</link>
      <description>Make sure that all shells that you use with ftp are in the /etc/shells file.  Here is an example:&lt;BR /&gt;&lt;BR /&gt;# cat /etc/shells&lt;BR /&gt;/bin/csh&lt;BR /&gt;/usr/bin/csh&lt;BR /&gt;/bin/ksh&lt;BR /&gt;/usr/bin/ksh&lt;BR /&gt;/sbin/sh&lt;BR /&gt;/sbin/ksh&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 20:22:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575095#M31030</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-09-04T20:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575096#M31031</link>
      <description>Hi Edwin,&lt;BR /&gt;&lt;BR /&gt;I just answered your question in the other thread but rksh and ksh have the same inode and i believe they behave differently based on how they are invoked.&lt;BR /&gt;&lt;BR /&gt;As far as getting bad shell for ftp, make sure the shell of the user you are logging in as is defined in /etc/shells.&lt;BR /&gt;Eg: if /bin/ksh is the shell the user is loggin in as make sure /etc/shells contains /bin/ksh.&lt;BR /&gt;&lt;BR /&gt;I normally add /bin/sh,/sbin/sh,/bin/ksh and /bin/posix/sh as well to the /etc/shells&lt;BR /&gt;&lt;BR /&gt;-Ramesh</description>
      <pubDate>Tue, 04 Sep 2001 20:29:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575096#M31031</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T20:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575097#M31032</link>
      <description>you're the man patrick.  i guess that's why you have that crown by your name.&lt;BR /&gt;&lt;BR /&gt;i didn't know HP-UX used /etc/shells.  i had to create the file and populate it.  works like a charm now.  &lt;BR /&gt;&lt;BR /&gt;gracias,&lt;BR /&gt;&lt;BR /&gt;edwin&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 20:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575097#M31032</guid>
      <dc:creator>Edwin R. Rivera_1</dc:creator>
      <dc:date>2001-09-04T20:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575098#M31033</link>
      <description>thanks to you also ramesh.   much appreciated amigo.&lt;BR /&gt;&lt;BR /&gt;-edwin</description>
      <pubDate>Tue, 04 Sep 2001 20:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575098#M31033</guid>
      <dc:creator>Edwin R. Rivera_1</dc:creator>
      <dc:date>2001-09-04T20:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: ftpd:  FTP LOGIN REFUSED (bad shell)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575099#M31034</link>
      <description>Hi Edwin:&lt;BR /&gt;&lt;BR /&gt;The /bin directory is a holdover from HP-UX pre-10.x filesystems.  It is actually a "transition" link to /usr/bin.  In the strictest sense, it should not be used.  Instead, one should specify /usr/bin.  The same is true for the transition link /lib which points to /usr/lib.&lt;BR /&gt;&lt;BR /&gt;In the absence of /etc/shells, valid login shells default to the following list:&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;If you specify /usr/bin/ksh [preferred over /bin/ksh] I think your problem will disappear.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 04 Sep 2001 20:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftpd-ftp-login-refused-bad-shell/m-p/2575099#M31034</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-09-04T20:36:08Z</dc:date>
    </item>
  </channel>
</rss>

