From: croftj@croftj.net (Joe Croft)
Subject: Re: ftp dameon and pdksh trouble under SuSE
Date: 2000/03/09 [thread overview]
Message-ID: <ubMx4.282$Ig.991@news1.rdc1.tx.home.com> (raw)
In-Reply-To: 38C59FAE.22336D2A@nospam.com
It does if you have /bin/ksh as your shell in your /etc/passwd file. That
shell is not listed
-Joe
In article <38C59FAE.22336D2A@nospam.com>,
"G. Hugh Song" <ghsong@nospam.com> writes:
> 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" <ghsong@nospam.com> 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 <joe@croftj.net>
>> 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
>
>
>
--
======================================================================
Come see www.LinuxLots.com | Joe Croft <joe@croftj.net>
the sites www.k9country.com | CroftJ Internet Services
www.clockstop.com | http://www.croftj.net/
======================================================================
prev parent reply other threads:[~2000-03-09 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-05 5:00 ftp dameon and pdksh trouble under SuSE G. Hugh Song
2000-03-06 5:00 ` Joe Croft
2000-03-08 5:00 ` G. Hugh Song
2000-03-09 5:00 ` Joe Croft [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox