ProFTP login
hi there,
i'm looking into using G4U and i'm starting to get everything ready and i need a FTP server going, i'm useing slackware 10.0 and the default install of ProFTP. i've got it all starting but now i can't seam to log into it, i'm not sure if i need to define a folder to store files in or not and if i need to setup a password and username for this folder, can someone help me out? with a how-to guide or just some basic intruction. |
This site has some good and easy to understand hot-to's.
http://www.linuxquestions.org/questi...ticle&artid=17 |
i think this guy in the forum came up with the soluction to my problem but he didn't explain how he fixed it.
http://forums.proftpd.org/phpBB2/viewtopic.php?t=260& he said, 'Again you had right....O....I forget to give rights user (proftpd) wich connect to database.....Sorrry again !!!' how do i give the user rights to access the database? |
I know this isn't necessarily an answer to your question, but have you looked at VSFTPd? I've used both on production servers, and VSFTPd is *much* faster, and easier to setup / use.
http://vsftpd.beasts.org/ |
Vsftp is installed in slack by default. Just comment that line out of /etc/inetd.com instead of proftp. There's no need to download and build it.
|
hi there i'm a bit of a webmin fan, does Vsftp have a webmin module?
|
I'm sure there is, vsftpd is very widely used. Even if it doesn't configuration of it is extremely simple.
|
I have proftp running on 10 and 10.1
I have a user ftp under home for anon login and other user directories for named login. Follow the instructions in the proftpd.conf to enable anon login and modify it if you want a chroot jail for named logins |
okay there, i've taken some advice here and go the vsftpd webmin module, edited the /etc/inietd.conf file and i now have vsftpd started and running, now my problem is when trying to access it via my XP box using IE ftp://192.168.0.20 it seams to automaticallu log me in? i was looking for maybe a username/password box?
alos when i log in via the command line with ftp localhost i can log in as root, but nothing esle root@LearnS:/# ftp localhost Connected to localhost. 220 Welcome to blah FTP service. Name (localhost:root): root 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> where as when i try my pma user, root@LearnS:/# ftp localhost Connected to localhost. 220 Welcome to blah FTP service. Name (localhost:root): pma 331 Please specify the password. Password: 530 Login incorrect. Login failed. ftp> can someone help me out |
Sounds like you have anonymous enabled, and no authentication.
Here is my vsftpd.conf; it only allows users with a valid account on the server to login. Code:
anonymous_enable=NO |
here are the exacute commands i did.
1) root@LearnS:/# locate vsftpd.conf /etc/vsftpd.conf /etc/vsftpd.conf.webmin.bak /usr/doc/vsftpd-2.0.1/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf /usr/doc/vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/vsftpd.conf /usr/doc/vsftpd-2.0.1/EXAMPLE/INTERNET_SITE/vsftpd.conf /usr/man/man5/vsftpd.conf.5.gz 2) root@LearnS:/# rm /etc/vsftpd.conf 3) root@LearnS:/# pico /etc/vsftpd.conf 4) (place this information into the file) anonymous_enable=NO local_enable=YES write_enable=YES local_umask=077 anon_upload_enable=NO anon_mkdir_write_enable=NO dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_file=/var/log/vsftpd.log xferlog_std_format=YES idle_session_timeout=600 data_connection_timeout=120 nopriv_user=ftp async_abor_enable=YES ftpd_banner=Slackbox FTP 5) log into webmin and restarted the server 6) visited ftp://192.168.0.20/ and still i automaticlly seams to log into root |
How are you accessing the FTP? Web browser? FTP client? Are you connecting as anonymous?
|
1) How are you accessing the FTP?
i'm trying on several different processes using 'bash' and a web browser 2) Web browser? internet exproler & firefox 3) FTP client? nope ... 4) Are you connecting as anonymous? no, i'm trying to access it by loging in using a local users. |
here is what it looks like when i log in as root using the bash command line
root@LearnS:/# ftp localhost Connected to localhost. 220 Slackbox FTP Name (localhost:root): root 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> here is what it looks like when i log in as a user using the bash command line. root@LearnS:/# ftp localhost Connected to localhost. 220 Slackbox FTP Name (localhost:root): matthewsp 331 Please specify the password. Password: 530 Login incorrect. Login failed. ftp> is there some way that i can choose users with FTP access or enable certain local users or something simple like that i'm missing. as far as i understand all i need to do is add a new users with the 'adduser' command? |
Are you using the vsftpd included with Slackware or did you compile your own? (I've never used the efault one, though I would assume Pat didn't mess with it)
|
All times are GMT -5. The time now is 12:18 AM. |