LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-07-2004, 04:17 AM   #1
UnrealTear
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
Question A few questions


Hi everyone, This is my first post here. More likley then not it isnt going to be my last. Ive installed RedHat 9.0 on an older computer in my home and was just hoping to run a very small webserver for friends. Email, domains, FTP stuff like that. Nothing fancy at all. Ive been working on it for a few weeks trying to grasp. Just a few questions ive been having, to be fair i am very new at all of this:

1. How exacly does apache know which files to bring up. Do you give the user FTP access to their home accounts and apache will read whatever they upload to that directory? Not sure on this.

2. How do i allow users to add their own email accounts or do i need to do that?

3. With VsFtpD how can i specify multiple users with diffrent passwords to access the same directory.

THank you for any help you might provide me.
 
Old 03-07-2004, 07:33 AM   #2
tk31337
Member
 
Registered: Oct 2003
Location: Tucson, AZ
Distribution: Mandrake 10.0 Official
Posts: 193

Rep: Reputation: 31
1. This is in Apache's configuration (/etc/apache.conf iirc, or use a front-end configuration utility). The default should be /var/www/html
2. This one's kinda complicated. You could have a web-based front-end that would setup a user account on your system, but it would require CGI or PHP to work. "or do i need to do that" -- It depends. If you're setting up your server to be used by the general public, then yeah, but if it's just for your friends, and they can call you on the phone, it'd be much simpler to run "adduser <username>", then setup some web-based solution.
3. Honestly, no clue. You'd have to check the server's documentation. For security reasons though, I'd recommend SFTP, rather than FTP. SFTP works over SSH, and therefore encrypts it's inbound/outbound packets (i.e password data). To setup multiple users to access the same directory with it (and this probably would work with VsFtpD too), you'd simply setup each user with the same home dir (i.e "useradd firstuser -d /home/shared && useradd seconduser -d /home/shared"). I know there's a way to setup a chroot jail so that the user can't move outside their home dir as well (if you have perms setup correctly they can't write outside their home dir anyways, and shouldn't be able to enter other home dirs), but have never set it up myself.

Hope you get it all setup.
 
  


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
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 12:50 PM
Solaris - Questions! Questions! Questions! qs_tahmeed Solaris / OpenSolaris 2 07-16-2005 06:27 AM
window manager questions and/or theme questions t3gah Linux - Software 2 02-27-2005 05:16 PM
Some questions... CryptDragoon Linux From Scratch 2 02-04-2004 09:28 PM
few questions? pudhiyavan Linux - General 2 10-03-2003 08:35 AM


All times are GMT -5. The time now is 10:36 AM.

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