LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-11-2006, 04:13 AM   #1
wtfn00b
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Rep: Reputation: 15
Ftp


I am nooby in linux but have fixed all my problems thanks to this forum. Installed Slack with my own hands ;] But I can't understand nothing about ftp on linux.

1) I whant to check if my ftp exis in my linux and is running at starp up.
2) I whant to know how can I create acc and pass for users.
3) I whant to know how can I redirect the user ftp folder to my apach and mysql. Somethink like: the user have web site he have dns example.org and I give him my IP and acc,pass for shell and ftp. So he login and put his web site files in the ftp folder and redirect domain to my IP. How can possibly do that all ?

Please, post a commands with comments.

Thanks very much.
 
Old 01-11-2006, 04:30 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
1)
check /etc/inetd.conf for a line refering to ftp; if it's commented, it's not started and you should remove the # to start the ftp service
next you can restart inetd
2)
adduser (no manpage)
check also useradd, grouppadd, usermod, userdel and a few others using the manpages
3)
don't know
 
Old 01-11-2006, 04:48 AM   #3
wtfn00b
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Original Poster
Rep: Reputation: 15
I entered /etc/inetd.conf
~bash: /etc/inetd.conf: Permission denied.
Have login with root.

????
 
Old 01-11-2006, 11:00 PM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
You can't run it, it's a configuration file. Use less to view it or your favourite editor to modify it; vi example below.

Type the underlined commands
vi /etc/inetd.conf to edit file with vi from a commandline
once the file is opened
/ftp to search for the word 'ftp'
go to beginning of the line by pressing 0 (zero)
x to remove the '#'
:wq to write and quit

use q! if you don't want to save changes.
 
Old 01-12-2006, 03:03 AM   #5
wtfn00b
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Original Poster
Rep: Reputation: 15
someone can tell me plz 3th problem.

btw, Wim Sturkenboom, thanks !
 
Old 01-12-2006, 03:48 AM   #6
gmh04
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian
Posts: 15

Rep: Reputation: 0
sorry about that
 
Old 01-12-2006, 02:21 PM   #7
wtfn00b
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Original Poster
Rep: Reputation: 15
noone ? ;(
Maybe I need to tell other way.
I have IP: 127.0.0.1
I have many ftp and many of user acc.
In each user acc is web site.
And for example I have 10 user accounts with 10 diffrent pages.
But I have only one IP. How can I redirect for example: user1 he have folder /user1/ the folder contain web site, and this user have domain name www.example1user1.com . He redirect the domain name to my IP 127.0.0.1. And all other 10 users do the same think. So I have 10 domains on my 127.0.0.1 IPz. The question what I want to know is: What can I do to - domain name example5user5.com open web site on user5 folder ?
This was the general question what I wanted to know.
 
Old 01-13-2006, 01:25 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I think that what your looking for is called 'virtual hosting'. Enter the keywords name_of_your_ftpserver and "virtual host" in a search engine and see what shows up.
The name of the server is the last word on the ftp-line in inetd.conf
Further you can read the documentation of your ftp server.

Another serach can be name_of_your_ftpserver and webserver.

A link that I found using the keyword howto webserver is Linux Web Server Configuration Tutorial.
 
Old 01-13-2006, 02:10 AM   #9
wtfn00b
LQ Newbie
 
Registered: Jan 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks very much.
 
  


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
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
SuSE 9.2 - FTP Port open with no FTP service?!?! don_wombat Linux - Security 12 12-01-2004 03:14 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 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