LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-14-2007, 11:05 PM   #1
ehegagoka
Member
 
Registered: Jun 2005
Distribution: Slackware
Posts: 68

Rep: Reputation: 15
ftp user


Hi!
I'm trying to login through FTP on the server, but when I try to login it says:

Quote:

530 This FTP server is anonymous only
How can I add users? so that they can log in also the server and transfer files?

Regards,
Rhani
 
Old 02-15-2007, 12:12 AM   #2
callmetimmay
LQ Newbie
 
Registered: Feb 2007
Location: Bridgeview, IL
Distribution: Fedora Core 4/6, Ubuntu 5.01
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by ehegagoka
Hi!
How can I add users? so that they can log in also the server and transfer files?

depends on which ftp server you are running and authentication method you are using...
 
Old 02-15-2007, 01:38 AM   #3
ehegagoka
Member
 
Registered: Jun 2005
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
Hi!,
Thanks for the reply. I've check the server and I saw something like vsftpd? I tried to edit the vsftpd.conf settings. But when I try to restart it


Code:
geonosis:/home/oracle # ps -ef | grep ftp
root     20510 20499  0 15:46 pts/1    00:00:00 grep ftp
geonosis:/home/oracle # /usr/sbin/vsftpd restart
500 OOPS: vsftpd: cannot open config file:restart
geonosis:/home/oracle # /usr/sbin/vsftpd start
500 OOPS: vsftpd: cannot open config file:start
geonosis:/home/oracle #


geonosis:/etc/xinetd.d # cat vsftpd
# default: off
# description:
#   The vsftpd FTP server serves FTP connections. It uses
#   normal, unencrypted usernames and passwords for authentication.
# vsftpd is designed to be secure.
service ftp
{
#        server_args             =
#        log_on_success          += DURATION USERID
#        log_on_failure          += USERID
#        nice                    = 10
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/sbin/vsftpd
}

geonosis:/etc/xinetd.d # ls /etc/init.d/vsftpd
/bin/ls: /etc/init.d/vsftpd: No such file or directory
geonosis:/etc/xinetd.d #
What else should I do? Thanks again Sir.

Regards,
Rhani

Last edited by ehegagoka; 02-15-2007 at 01:49 AM.
 
Old 02-15-2007, 06:17 PM   #4
callmetimmay
LQ Newbie
 
Registered: Feb 2007
Location: Bridgeview, IL
Distribution: Fedora Core 4/6, Ubuntu 5.01
Posts: 9

Rep: Reputation: 0
with vsftp, it is not a part of xinet as wu-ftp was...

you modify your config in...
/etc/vsftpd/vsftpd.conf

to start/stop/restart the service, your executable should be in...
/usr/sbin/vsftpd

if you are not sure where it is or that doesn't work, type this...
which vsftpd


here is step by step what i did
Quote:
[root@ftp ~]# which vsftpd
/usr/sbin/vsftpd
[root@ftp ~]# vi /etc/vsftpd/vsftpd.conf
[root@ftp ~]# su ftp
Password:
[ftp@ftp ~]# /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
[ftp@ftp ~]# logout
[root@ftp ~]# ps aux|grep vsftp
ftp 6846 0.0 0.2 4600 480 ? Ss 13:29 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 6864 0.0 0.2 3896 668 pts/0 R+ 13:29 0:00 grep vsftp
[root@ftp ~]#
if you are using fedora as I am... instead of running the executable i just do a this...

Quote:
[root@ftp ~]# service vsftpd restart
Shutting down vsftpd: [ OK ]
Starting vsftpd for vsftpd: [ OK ]
[root@ftp ~]# ps aux|grep vsftpd
root 7082 0.0 0.2 4600 484 ? Ss 13:29 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
root 7110 0.0 0.2 3900 672 pts/0 R+ 13:30 0:00 grep vsftpd
[root@ftp ~]#
Hope this helps
 
Old 02-15-2007, 06:19 PM   #5
callmetimmay
LQ Newbie
 
Registered: Feb 2007
Location: Bridgeview, IL
Distribution: Fedora Core 4/6, Ubuntu 5.01
Posts: 9

Rep: Reputation: 0
I just noticed you were using slackware... it may be different with incorporating into xinet... let me know, interested myself :-)
 
Old 02-15-2007, 07:57 PM   #6
ehegagoka
Member
 
Registered: Jun 2005
Distribution: Slackware
Posts: 68

Original Poster
Rep: Reputation: 15
Hi!,
Thank you so much for the reply, here's what I did.

Code:
geonosis:/home/oracle # which vsftpd
/usr/sbin/vsftpd
geonosis:/home/oracle # ls /etc/vsftpd
/bin/ls: /etc/vsftpd: No such file or directory
geonosis:/home/oracle # ls /etc/vsftpd.conf
/etc/vsftpd.conf
geonosis:/home/oracle # su ftp
ftp@geonosis:/home/oracle> /usr/sbin/vsftpd /etc/vsftpd.conf
500 OOPS: vsftpd: must be started as root
ftp@geonosis:/home/oracle> exit
exit
geonosis:/home/oracle # /usr/sbin/vsftpd /etc/vsftpd.conf
500 OOPS: vsftpd: does not run standalone, must be started from inetd
geonosis:/home/oracle #
I do use Slackware before in my previous works. But I'm using now Suse 9, as it is what they are using here. Also we do have Fedora. We use this platforms for our Oracle Databases. Thanks again for the reply. I want to setup the ftp as we need it on our Perl Scripts.


Regards,
Rhani
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
Unable to FTP as user but can FTP as Root acharya_rl Linux - Enterprise 5 09-05-2006 06:57 AM
ftp user. crime Linux - Newbie 4 04-26-2006 10:31 AM
Allow ftp user ust Linux - Software 4 06-21-2005 08:32 PM
ftp only user chongluo Linux - Newbie 3 03-25-2004 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration