Re: FTP access with RH 7.2

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

 



The problem may be  "guestuser *".
If you make guestuser *, then no one can login with user/password. All user
are assumed as guest and can access ftp home directory only.


Win Toe
Penguin Millennium

----- Original Message -----
From: Tom Westheimer <tom@xxxxxxxxxxxxxxx>
To: <redhat-list@xxxxxxxxxx>
Sent: Thursday, January 01, 2004 7:18 AM
Subject: FTP access with RH 7.2


> This is probably a simple question for most experienced Linux users but
> I have been trying to get FTP going for my new server for several weeks
> with no joy. I can telnet to the server, I have enabled FTP in the
> wu-ftpd file and restarted xinetd.  I can open FTP from the telnet
> command line but I cannot login to FTP from an FTP client program as
> root or any other user name.  I just want to FTP some files to the WWW
> area for a simple website.
>
> Here is the ftp log
> ~ Connected to westheimers.net, waiting for response...
> < 220 westheimers.net FTP server (Version wu-2.6.2-11.72.1) ready.
>  > USER tom
> < 331 Password required for tom.
>  > PASS *****
> < 530 Login incorrect.
> !  Invalid username or password for westheimers.net
> ~ Could not login to westheimers.net
>
> The user name and password is correct
>
> my ftpaccess file is as follows:
> # This file controls the behavior of the wu-ftpd
> # ftp server.
> #
> # If you're looking for a graphical frontend to
> # editing it, try kwuftpd from the kdeadmin
> # package.
>
> # Don't allow system accounts to log in over ftp
> deny-uid %-99 %65534-
> deny-gid %-99 %65534-
> allow-uid ftp
> allow-gid ftp
> allow-uid tom
>
> # Chroot all users to their home directory by default
> # (comment this out if you don't want to chroot most of your users)
> guestuser *
> # If you wish to allow user1 and user2 to access other
> # directories, use the line below:
> # realuser user1,user2
>
>
> # The ftpchroot group doesn't exist by default, this
> # entry is just supplied as an example.
> # To chroot a user, modify the line below or create
> # the ftpchroot group and add the user to it.
> #
> # You will need to setup the required applications
> # and libraries in the root directory (set using
> # guest-root).
> #
> # Look at the anonftp package for the files you'll need.
> guestgroup ftpchroot
>
> # User classes...
> class   all   real,guest,anonymous  *
>
> # Set this to your email address
> email root@localhost
>
> # Allow 5 mistyped passwords
> loginfails 5
>
> # Notify the users of README files at login and when
> # changing to a different directory
> readme  README*    login
> readme  README*    cwd=*
>
> # Messages displayed to the user
> message /welcome.msg            login
> message .message                cwd=*
>
> # Allow on-the-fly compression and tarring
> compress        yes             all
> tar             yes             all
>
> # Prevent anonymous users (and partially guest users)
> # from executing dangerous commands
> chmod           no              guest,anonymous
> delete          no              anonymous
> overwrite       no              anonymous
> rename          no              anonymous
>
> # Turn on logging to /var/log/xferlog
> log transfers anonymous,guest,real inbound,outbound
>
> # If /etc/shutmsg exists, don't allow logins
> # see ftpshut man page
> shutdown /etc/shutmsg
>
> # Ask users to use their email address as anonymous
> # password
> passwd-check rfc822 warn
>
> Any suggestions would be greatly appreciated!  The more I learn about
> Linux the more impressed I get!
> TIA
>
> --
> Tom Westheimer
>
> <a href="http://spamarrest.com/affl?102505";><img
src="http://spamarrest.com/img/affiliate/ads/emailbanner1.gif?102505";
height="31" width="435" border="0"></a>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux