[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: FTP server installation



No shell for the user ftp, ftp cannot log-in, there should be a file called /etc/shells that is required when the shell mentioned in /etc/passwd for a user to get logged in via ftp

Ted Gervais wrote:

Just looking this file over too, and I see under ' ftp:x:14.50:FTP User/var/ftp: that I have all that but it ends with :/sbin/nologin


Should that be changed? Why the 'nologin' ??

Seems strange..



At 06:03 PM 9/9/2002 +0100, you wrote:

do u have a user ftp in your /etc/passwd for anonymous ftp server to work ??
i hope u are not trying to login as root !!
i am attaching a working ftp server conf !! even for anonymous ftp !!! compare and seee where u have problems!!
/etc/passwd
ftp:x:14:50:FTP User:/var/ftp:
/etc/ftpaccess
class all real,guest,anonymous *
email root localhost
loginfails 5
readme README* login
readme README* cwd=*
message /welcome.msg login
message .message cwd=*
compress yes all
tar yes all
chmod no guest,anonymous
delete no guest,anonymous
overwrite no guest,anonymous
rename no guest,anonymous
log transfers anonymous,real inbound,outbound
shutdown /etc/shutmsg
passwd-check rfc822 warn
/etc/ftpusers
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody
~






----- Original Message -----
*From:* Skuse, Phil <mailto:Phil Skuse vicorp com>
*To:* 'redhat-list redhat com' <mailto:'redhat-list redhat com'>
*Sent:* Monday, September 09, 2002 10:19 AM
*Subject:* RE: FTP server installation

Check if there are any clues in /var/log/messages. Also check the allow-uid and allow-gid settings in ftpaccess.
-----Original Message-----
*From:* Mathur, Sachin (UMKC-Student) [mailto:sm7rf umkc edu]
*Sent:* 07 September 2002 19:12
*To:* redhat-list redhat com <mailto:redhat-list redhat com>
*Subject:* FTP server installation


Hi folks,

I have installed wu-ftpd and anonymous ftp server on my redhat 7.3 system. When I try to ftp to the localhost, after entering my login and password, it gives me a message " login incorrect " . I am facing the same problem with anonymous ftp server. I tried to toggle with ftpaccess, n ftpusers files, but it dint work.

Thanks in advance,

Best Regards

Sachin.






--- Ted Gervais, Coldbrook, Nova Scotia, Canada


-- Aly Dharshi aly dharshi uleth ca System Administrator ORS Servers

    "A good speech is like a good dress
    that's short enough to be interesting
    and long enough to cover the subject"






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]