Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Webmin + Proftpd Setup For Website, How can I setup profrpd for my website
tuthjaa
post Jan 19 2005, 06:06 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 19-January 05
Member No.: 4,539



Hi guys,

I have just installed proftpd (using webmin). Everything seems to be working okay - I am able to login on the server into my home directory (which I think is the default setting). However, I am trying to setup a website and would like to login to the apache directory /var/www/html so that I can upload .php scripts.

Does anyone know how to set this up in either the .config file or even better webmin?

Thanks in advance,
Yours,

James
Go to the top of the page
 
+Quote Post
Termina
post Jan 19 2005, 06:29 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



Add a user (usermod -s /bin/bash -d /var/www/html -G nobody)

make sure umask makes files with read and execute, for group. (umask 072, I belive)

This is assuming that nobody is set in your httpd.conf to group (sometimes only user nobody (or www-data) is put in there, make sure to add group nobody!) Or www-data

passwd username

Change the pass, and you may have to restart proftpd (I don't really remember, sorry. tongue.gif)

And there you go!


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
tuthjaa
post Jan 19 2005, 06:44 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 19-January 05
Member No.: 4,539



Hi,

Thanks for the speedy response. As I am a bit of newbie could you possibly explain the commands more for me. I am reluctant to use them on my server without knowing what they do.

1) usermod -s /bin/bash -d /var/www/html -G nobody
This makes a new user, but what does -s and -d and -G do?

And is this configuring the proftpd or apache or just creating a new user with a home directory in the /var/www/html directory?

Sorry for not understanding... I am still on the steep learning curve.

Thanks,

James
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th December 2017 - 03:00 PM