Jump to content

Super NooB here: how do I allow each user to have there own


Guest Ezekiel
 Share

Recommended Posts

Guest Ezekiel

Hi, not sure where I sould have pssted this. I am super new to linux also, but learn quickly.

 

OK I have installed Mandrake 9. I want to enable my test users to have personal web space that they could access, I have figure out that I need to put a Public_html folder in the etc/skel So that each user automatically gets a Public_html folder.. But that;s pretty much all I have so far..What else do I need to do? This is probably an idiotic question but.....just learning here... To over simplify, I ouwld like each user to be able to log in via ftp and upload there files to a directory and access their website like this www.mydomain.com/~username

 

Thx for any advice/help in advance

 

Ezekiel :?: :wink:

Link to comment
Share on other sites

Basically, I think you've got it. But be carefull because in Linux, case matters in file names. So it should be public_html, not Public_html.

Anyway, you can change this name in one of Apache's configuration files. All those files are in /etc/httpd/ I think. find the one which says "public_html" (tip: execute in the good directory: grep -i -r "public_html" * ) and change to the value you want (eg: my_webfiles or Public.html or...)

 

Yves.

Link to comment
Share on other sites

Guest Ezekiel

Thank-you, I think I'm slowly getting it..Well...maybe hehe.

How do I make it so that wehn a user logs in via ftp they cam only access there public_html folder and nothing else?

Link to comment
Share on other sites

Thank-you, I think I'm slowly getting it..Well...maybe hehe.

How do I make it so that wehn a user logs in via ftp they cam only access there public_html folder and nothing else?

 

There is a tutorial about that here: http://tuxbox.by-a.com/proftpd-howto/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...