<?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---- Which shell use? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564979#M29795</link>
    <description>Thanks for your input.&lt;BR /&gt;I have made a trial:&lt;BR /&gt;First I was rejected when my default shell is /bin/ksh&lt;BR /&gt;when I changed my shell to /usr/bin/ksh, I can perform ftp to that HP server.&lt;BR /&gt;&lt;BR /&gt;surely I did not create the file /etc/shells.&lt;BR /&gt;&lt;BR /&gt;Who defined the shell /usr/bin/ksh?</description>
    <pubDate>Tue, 14 Aug 2001 04:09:53 GMT</pubDate>
    <dc:creator>leereg_5</dc:creator>
    <dc:date>2001-08-14T04:09:53Z</dc:date>
    <item>
      <title>FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564974#M29790</link>
      <description>Normally to make use of FTP sevice, we need to create the file /etc/shells and add some paths of shells to it.&lt;BR /&gt;My question:&lt;BR /&gt;&lt;BR /&gt;How to find out the default shell defined by the ftp server?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Tue, 14 Aug 2001 01:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564974#M29790</guid>
      <dc:creator>leereg_5</dc:creator>
      <dc:date>2001-08-14T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564975#M29791</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;By default the ftp server generates a shell&lt;BR /&gt;based on /usr/bin/sh.&lt;BR /&gt;&lt;BR /&gt;Check out the man page on 'ftp' for further&lt;BR /&gt;information.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 14 Aug 2001 02:16:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564975#M29791</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-14T02:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564976#M29792</link>
      <description>Where is the configuration file and how to change the default value?</description>
      <pubDate>Tue, 14 Aug 2001 02:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564976#M29792</guid>
      <dc:creator>leereg_5</dc:creator>
      <dc:date>2001-08-14T02:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564977#M29793</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Depending on what options you use with 'ftp' you can also use 'csh'. Have a look at the man page for the 'chsh' command. This utility has the ability to change the shell.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;-Michael</description>
      <pubDate>Tue, 14 Aug 2001 03:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564977#M29793</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-14T03:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564978#M29794</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;man 4 shells tells us that /etc/shells is basically a file which lists all the shells in the system. When a user ftps using a shell not listed in the /etc/shells then ftp access is denied. &lt;BR /&gt;&lt;BR /&gt;If you are referring to the shell which is invoked when you run !cmd within a ftp session, then by default ftp starts up /usr/bin/sh if $SHELL is undefined.&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;I am Ru</description>
      <pubDate>Tue, 14 Aug 2001 03:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564978#M29794</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-08-14T03:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564979#M29795</link>
      <description>Thanks for your input.&lt;BR /&gt;I have made a trial:&lt;BR /&gt;First I was rejected when my default shell is /bin/ksh&lt;BR /&gt;when I changed my shell to /usr/bin/ksh, I can perform ftp to that HP server.&lt;BR /&gt;&lt;BR /&gt;surely I did not create the file /etc/shells.&lt;BR /&gt;&lt;BR /&gt;Who defined the shell /usr/bin/ksh?</description>
      <pubDate>Tue, 14 Aug 2001 04:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564979#M29795</guid>
      <dc:creator>leereg_5</dc:creator>
      <dc:date>2001-08-14T04:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564980#M29796</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In the password file all shells have a full&lt;BR /&gt;path. i.e. /usr/bin/sh /usr/bin/ksh etc. &lt;BR /&gt;that's why your first attempt was rejected as&lt;BR /&gt;an incorrect shell. You don't need to create &lt;BR /&gt;a /etc/shells file unless you wish to restrict&lt;BR /&gt;some of the shells being used on your system.&lt;BR /&gt;The /usr/bin/ksh shell comes from the password&lt;BR /&gt;file. e.g.&lt;BR /&gt;&lt;BR /&gt;informix:bqQwdeywfzkuc:220:200:Informix User,,,:/home/informix:/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;Hope this explains things&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 14 Aug 2001 05:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564980#M29796</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-14T05:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564981#M29797</link>
      <description>Hi Michael:&lt;BR /&gt;When I was rejected, I had a line:myname:x:20142:1200::/home/myname:/bin/ksh&lt;BR /&gt;&lt;BR /&gt;in /etc/passwd file. when I change that line to :&lt;BR /&gt;ricklee:x:20142:1200:Rick,Lee:/home/ricklee:/usr/bin/ksh&lt;BR /&gt;I got it. &lt;BR /&gt;I mean in the destinated box, which file define the ftp user make use of /usr/bin/ksh &lt;BR /&gt;but no others?&lt;BR /&gt;How to change it if I want to perf?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Aug 2001 06:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564981#M29797</guid>
      <dc:creator>leereg_5</dc:creator>
      <dc:date>2001-08-14T06:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564982#M29798</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have a look you will see that the&lt;BR /&gt;correct path to the shells is /usr/bin/ksh&lt;BR /&gt;etc.&lt;BR /&gt;The default shell for this user should be &lt;BR /&gt;/usr/bin/ksh if that is the shell defined &lt;BR /&gt;in /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Aug 2001 07:32:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564982#M29798</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-08-14T07:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564983#M29799</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The standard system shells are documented in section-3 of the man pages.  If you look at 'man 3 getusershell' you will find that if /etc/shells doesn't exist or isn't readable, then 'getusershell()' returns the&lt;BR /&gt;following standard system shells:&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;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 Aug 2001 10:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564983#M29799</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-14T10:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP---- Which shell use?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564984#M29800</link>
      <description>&lt;BR /&gt;From man ftpd:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     ftpd authenticates users according to three rules:                                                                            &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;           +  The user name must be in the password data base, /etc/passwd,                                                         &lt;BR /&gt;              and not have a null password.  The client must provide the                                                            &lt;BR /&gt;              correct password for the user before any file operations can                                                          &lt;BR /&gt;              be performed.                                                                                                         &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;           +  The user name must not appear in the file /etc/ftpd/ftpusers                                                          &lt;BR /&gt;              (see ftpusers(4)).                                                                                                    &lt;BR /&gt;                                                                                                                                    &lt;BR /&gt;           +  The user must have a standard shell returned by                                                                       &lt;BR /&gt;              getusershell().                                                               &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;See man  ftpd and getusershell.&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Aug 2001 10:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-which-shell-use/m-p/2564984#M29800</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-08-14T10:49:25Z</dc:date>
    </item>
  </channel>
</rss>

