LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Adding users in proftpd (https://www.linuxquestions.org/questions/linux-software-2/adding-users-in-proftpd-468348/)

Rogue Jedi X 07-27-2006 04:56 PM

Adding users in proftpd
 
It's highly probable that I am going to get lynched, since this has been all over the forums (yes, I did use the search function), but here goes.

I'm trying to set up a FTP server using proftpd. I have looked over the config file and tweaked it a bit, specifically my FTP server's name and port number. It works fine with anonymous access, but that's not how I want it. I want to create two separate FTP user accounts with passwords, but after reading the documentation I only got more confused. Also, I want them to have separate dirs (like /home/ftp/user1 and /home/ftp/user2). Any idiot's guides on this? Or maybe pointing me to an existing thread I missed? Thanks.

twantrd 07-27-2006 05:01 PM

Good, I'm glad you agree that anonymous is a no-no :). Anyhow, proftpd reads usernames/passwords off the system (/etc/passwd, /etc/shadow). Can you not log in or something? Do you get an error when you try to log in with existing account?

-twantrd

Rogue Jedi X 07-27-2006 06:08 PM

Well, that was quick. Anyway, this might sound like a noobish question, but how do I log in to proftpd which is on the same machine I'm writing from? And if I understood correctly, I need to make two users on my machine, make up a password for each one and I'm done? Theoretically, anyway?

twantrd 07-27-2006 10:01 PM

Quote:

Anyway, this might sound like a noobish question, but how do I log in to proftpd which is on the same machine I'm writing from?
Since you're on the same machine, log in with 'ftp localhost'. Then type in your username/password when it prompts you to.

Quote:

And if I understood correctly, I need to make two users on my machine, make up a password for each one and I'm done?
Yes.


-twantrd

Rogue Jedi X 07-28-2006 05:58 AM

Hey, it works like a charm! Thanks!


All times are GMT -5. The time now is 12:56 AM.