On 9 Dec 1998, Jeroen Pluimers writes:
>> Would you please explain "interactive" or show us a typescript?
> See below. The first login is interactive using pluimers.com as an
> account, but fails. The second uses jwp and succeeds. From that (and
> any other place in the world) I can logon using ftp with
> pluimers.com as account and get in.
I know how to achieve this effect, but not how to do it by accident :-)
A shell login requires a suitable shell in the /etc/password file,
such as bash or tcsh or whatever. If you put /bin/false in there as a
shell, or even a little program that outputs "Login incorrect", you
can't log in and get a shell prompt.
However, if you add /bin/false (or whatever you used as the 'shell')
to /etc/shells, you *can* then use FTP and log in to that account for
FTP use. FTP does not actually use the shell specified in the
password file, it just checks that it exists in /etc/shells before
granting FTP access.
So, to help solve the problem, I'd look hard at the lines from
/etc/passwd for these two accounts, and at your /etc/shells file.
Jonathan
--
Jonathan Marsden | Internet: [EMAIL PROTECTED] | Making electronic
1849 N. Wabash Ave.| Phone: +1 (909) 794 1151 | communications work
Redlands, CA 92374 | FAX: +1 (909) 794 3016 | reliably for Christian
USA | http://www.xc.org/jonathan | missions worldwide
---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]