Set up different users in ProFTPD

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Set up different users in ProFTPD

Postby Nick Taylor » 27. January 2004 16:30

How can I setup different users in ProFTP and "lcok" them in different folders (/opt/lampp/htdocs/whatever_the_folder_I_want_to_give_them_access_to)
Can I use MySQL?
Cheers
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby Nick Taylor » 27. January 2004 16:31

Incidentally, I've read somewhere (possibly ProFTPD's website) that there's supposed to be a GUI interface coming soon for ProFTPD. Any idea when?
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Re: Set up different users in ProFTPD

Postby Oswald » 27. January 2004 16:38

Nick Taylor wrote:How can I setup different users in ProFTP and "lcok" them in different folders (/opt/lampp/htdocs/whatever_the_folder_I_want_to_give_them_access_to)
Can I use MySQL?
Cheers


Yes, you can use MySQL but it's more easy without MySQL!

Simply add a new Linux user to your system and set the home directory to "/opt/lampp/.../whatever_the_folder_I_want_to_give_them_access_to".

To make sure the new user can write the directory you may need to call:

chown kai /opt/lampp/.../whatever_the_folder_I_want_to_give_them_access_to

Replace kai by the username you added.

Greetings
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby Nick Taylor » 27. January 2004 17:27

Ok, if you say it's easier without MySQL, what other options do I have?
Thanks
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Re: Set up different users in ProFTPD

Postby Nick Taylor » 27. January 2004 17:44

When you say:
Kai Seidler wrote:Simply add a new Linux user to your system and set the home directory to "/opt/lampp/.../whatever_the_folder_I_want_to_give_them_access_to".
,
it sound like i do not add a user in a separate MySQL database, but in Linux itself.
What I had in mind was creating a database in MySQL, say "ProFTPD_Users", and only one table in it, say "users", and three fields, "user_id", "user_password", and "default_folder" - where "default_folder" is one of the subfolders in /opt/lampp/htdocs.
The idea is that I am going to host different websites for my company (internal loops) and give access to different users to the different "websites" (which are going to be in subfolder in /opt/lampp/htdocs.
I don't know if that makes sense?

Very gratefully,
Nick
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby Oswald » 27. January 2004 18:46

Yes, that makes sense. But I think it's more easy to add users to your Linux system. But try as you like!! ;)
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby Nick Taylor » 27. January 2004 19:05

Well, the reason why i want to use MySQL, is because I might end up with roughly 40 users, and also, I want an individual log of all activity - I want to know who's doign what, when, and where (IP tracking), and I thought i could have a good level of logging with MySQL.
Another thing is, I dont fancy adding some 40 users to my linux machine...
Any suggestions?
thanks
Nick
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

Postby Nick Taylor » 29. January 2004 13:15

To anybody who's interested in doing so, please contact me! I HAVE FOUND A WAY...
You knwo what it's like, when there's a will, there's a way...
Nick
Nick Taylor
 
Posts: 36
Joined: 27. January 2004 14:22
Location: Oxford

I am interested!!!!

Postby pantor » 13. February 2004 21:38

Nick Taylor wrote:To anybody who's interested in doing so, please contact me! I HAVE FOUND A WAY...
You knwo what it's like, when there's a will, there's a way...
Nick


I am very interested on that topic!!! Please tell us how did you did it, thanks!

pantor
pantor
 
Posts: 4
Joined: 13. February 2004 21:34

Postby [jeppa]newbe » 09. March 2004 15:46

ok im a real noob at this and linux :oops: i added new user to liux comand adduser set pw for the user and rest defolt

then tryed to acess the ftp though browser at login box added user name then pasword but seems they wrong because it keeps briging back the login box.so i think it must be i need to set the home directory for this user?
so how do i give that user defolt home say opt/lamp/htdocs/jeppa
[jeppa]newbe
 
Posts: 5
Joined: 09. March 2004 15:32

Postby [jeppa]newbe » 10. March 2004 23:00

:cry: any 1 help ? above ??
[jeppa]newbe
 
Posts: 5
Joined: 09. March 2004 15:32

Postby [jeppa]newbe » 12. March 2004 10:45

hmmm guess no1 knows then :? :? :?
[jeppa]newbe
 
Posts: 5
Joined: 09. March 2004 15:32

Postby [jeppa]newbe » 13. March 2004 18:15

any 1 read this forum ?
[jeppa]newbe
 
Posts: 5
Joined: 09. March 2004 15:32

Postby Kristian Marcroft » 13. March 2004 18:31

Hi,

try this

Code: Select all
adduser --help

then U'll see that the Syntax is:

Code: Select all
adduser --home /opt/lampp/htdocs/jeppa


So long
KriS
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

very related question

Postby irvine4 » 17. September 2004 05:15

I installed xampp and it seems to work. So I proceeded to test ftp.
I learned that I can not ftp as root. So I create a user account and a password throught useradd. (I am using Vector Linux)

I can log in with this user account locally with the password. But I can not ftp with this user account, from a remote

Do I have to configure it somewhere for this account to be able to access through ftp?
irvine4
 
Posts: 3
Joined: 12. September 2004 04:50

Next

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 31 guests