From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10669a,7668e22b730d20b1 X-Google-Attributes: gid10669a,public X-Google-Thread: 111c93,7668e22b730d20b1 X-Google-Attributes: gid111c93,public From: "G. Hugh Song" Subject: Re: ftp dameon and pdksh trouble under SuSE Date: 2000/03/08 Message-ID: <38C59FAE.22336D2A@nospam.com>#1/1 X-Deja-AN: 594491965 Content-Transfer-Encoding: 7bit References: <38C2302A.B45191BE@nospam.com> X-Accept-Language: en Content-Type: text/plain; charset=EUC-KR Organization: KJIST, KwangJu, KOREA Mime-Version: 1.0 Newsgroups: comp.os.linux.networking,comp.os.linux.alpha Joe Croft wrote: > Could be you need to update your /etc/shells file to include the pdksh file > that you are using. ftp is quite picky about what shells it lets log into > the system they must be in the /etc/shells file before it will allow you > to login using any given shell. On SuSE, "ls -l /usr/bin/ksh /bin/ksh" shows -rwxr-xr-x 1 root root 179216 Nov 9 05:31 /usr/bin/ksh lrwxrwxrwx 1 root root 14 Jan 22 00:42 /bin/ksh -> ../usr/bin/ksh and "cat /etc/shells" shows /bin/ash /bin/bash /bin/bash1 /bin/csh /bin/false /bin/sh /bin/tcsh /usr/bin/csh /usr/bin/ksh /usr/bin/passwd /usr/bin/tcsh /usr/bin/zsh So, your comment does not seem to apply to my case. > > -joe > > [Posted and mailed] > > In article <38C2302A.B45191BE@nospam.com>, > "G. Hugh Song" writes: > > This whole mess gave me quite an agony. I guess I solved and > > understands at least partially why all this trouble exists. > > > > SuSE under their philosophy of "the more the better" installs > > all three, proftpd wuftpd and in.ftpd (from nkitb) by default. > > /etc/inetd.conf selects in.ftpd by default. > > Right after the installation, ftp by users works without a > > problem. Strangely, once I messed up the PAM configuration > > by updating one of those packages, it started to give all that > > headache. > > > > Proftpd was now considered to have a security problem. > > So, I uncommented a line for wuftpd inside /etc/inetd.conf, > > blocking the rest. Still the problem.... > > > > Eventually, what I found was that the version of pdksh-5.2.14-? > > which SuSE compiled is regarded as a bad shell by the PAM. > > And the ftp daemon gets that information from PAM. > > > > When I switched to bash, all of a sudden, it started working. > > > > However, PAM does not complain for requests from in.telnetd > > even for pdksh. Pdksh compiled by RedHat has no problem. > > > > SuSE, is pdksh a second-rate shell program? I wish to continue > > to use pdksh. All this trouble exists for SuSE for Alpha, BTW. > > > > > > -- > > G. Hugh Song > > > > -- > ====================================================================== > Come see www.LinuxLots.com | Joe Croft > the sites www.k9country.com | CroftJ Internet Services > www.clockstop.com | http://www.croftj.net/ > ====================================================================== -- G. Hugh Song Assoc. Professor Office: +82-62-970-2210 Departmental fax: -2204 PC fax: -2246 Email: ghsong@kjist.ac.kr Department of Information and Communications Kwangju Institute of Science and Technology 1 Oryong-dong, Buk-gu Kwangju, 500-712 South KOREA