LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2008, 05:55 PM   #1
dunc69
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
vsftpd


I'm trying to get an ftp service running on my linux box. I have slackware 10.2 running as a guest under vm workstation. My host is xp sp3. I'm trying to edit vsftpd in the /etc subdirectory, but I keep getting messages that say the file can't be modified, or that I don't have permission to do what I want. I am the only user on this machine, and I thought that I could do whatever I wanted. Do I have to go in and tell it that I am going to modify that file? Is it something to do with the file attributes? Everything else seems to be pretty straight forward, I think.

I am a DOS/Windows guy, and am trying to learn linux. Help!
 
Old 08-09-2008, 06:46 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Quote:
I am the only user on this machine, and I thought that I could do whatever I wanted.
Not really, if you can do whatever you want, then you are definitely not the only user on your machine - at least not for very long. That is one area where Linux is different from windows, although Vista seems to have taken some inspiration from Linux/Unix. System critical operations are all password protected and can only be performed by "root" or anyone who has been authorized by root to do such things.

To open a configuration file anywhere outside your home directory, most people would start up a terminal (Konsole?), type su - and submit their root password. Then they type the name of an editor followed by the filename (e.g. nano /etc/vsftp.conf). There are other ways of doing that - sudo, graphically, etc - but this approach should work out of the box.
 
Old 08-09-2008, 06:59 PM   #3
richwmn
LQ Newbie
 
Registered: Dec 2005
Location: Athens, GA
Distribution: Slackware (various),Ubuntu 9.04
Posts: 27

Rep: Reputation: 17
Quote:
Originally Posted by dunc69 View Post
I'm trying to get an ftp service running on my linux box. I have slackware 10.2 running as a guest under vm workstation. My host is xp sp3. I'm trying to edit vsftpd in the /etc subdirectory, but I keep getting messages that say the file can't be modified, or that I don't have permission to do what I want. I am the only user on this machine, and I thought that I could do whatever I wanted. Do I have to go in and tell it that I am going to modify that file? Is it something to do with the file attributes? Everything else seems to be pretty straight forward, I think.

I am a DOS/Windows guy, and am trying to learn linux. Help!
A couple of questions from a slack user.
1. During installation, there is a question about starting services. It is near the end of the installation. Did you check to start the ftp service?
2. When you try to ftp to the service do you get a prompt?

if the answer to either of the above is no, you need to make sure the file /etc/rc.d/rc.vsftpd is executable (ie chmod 755 /etc/rc.d/rc.vsftpd).
you need to be root to do this. The type "/etc/rc.d/rc.vsftpd start"
that will start the service for now, and it will start automatically next boot.

The default configuration in slack should be enough to get you started with ftp.

Rich
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 10:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 04:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 01:05 AM


All times are GMT -5. The time now is 10:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration