LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   vsftpd.user_list syntax (https://www.linuxquestions.org/questions/linux-server-73/vsftpd-user_list-syntax-518457/)

Plan-1130 01-11-2007 03:47 PM

vsftpd.user_list syntax
 
- Debian 3.1 Sarge
- vsftpd

Hello,

Maybe you remember me, maybe you don't.
I've been here quite some time ago trying to figure out if Linux was the thing for me, and what distro to use, and basicly anything that comes with it (read here, and here)
For now I managed to install Debian Sarge, learned how to work with aptitude, set up a working HTTP server, with mysql and PHP5, set up a VNC server (password protected, no invites or whatsoever), set up the samba server and make it act like windows does (no login...)
but I'm really stuck now, i'm trying to configure vsftpd, and this is a bit what i want:
No local users, like root... (local_enable=NO, done)
Anonymous users (anonymous_enable=YES no_anon_password=YES, done)
But now i want to have a list of viritual users, is that possible with the vsftpd.user_list file?
Otherwise I need to work out how to work with PAM, whatever that might be.

Thanks in advance,
Sander

Plan-1130 01-12-2007 11:21 AM

Sorry for double-posting, I just figured it would be better to make a new reply to let you all know I've found may way through.

After searching the internet for another day, and lot's of trying I've found a way to get what I want.

1: I made a few new users for linux, no viritual users

2: I put this in the vsftpd.conf file:

Code:

# For allowing local users to log in:
local_enable=YES
# For limiting the users logging in:
userlist_enable=YES
# For only allowing users in userlist, instead of denying:
userlist_deny=NO
# Defining the userlist file:
userlist_file= /etc/vsftpd.user_list

3: In the vsftpd.user_list file you list the usernames seperated by newlines (anonymous and ftp included)


I hope with this I helped some other newbies too :)

rickh 01-12-2007 11:38 AM

Looks like you've come quite a ways. Since you seem like a methodical and thorough person, you really ought to be considering the move to Etch. It will be the new Stable in a month or so, and the upgrade seems a bit tricky up to this point. I'd recommend a clean install, maybe dual booting with your Sarge install and gradually moving your servers.

Plan-1130 01-13-2007 01:31 AM

I'll take that as a compliment, thanks :)

I am considering installing Etch, but it took 1 year to manage understand SuSE, getting used to the looks, let go of it (because it's not the most optimal distro for servers (for what I've heard)), and get to understand Debian, with it's aptitude (instead of YaST), it's special looks, different, less graphical configuration etc.
It was hell of a job, and I loved it, but now that i got things running well I don't really feel the need to start all over again.

Feel free to convince me, but I'm very statisfied with how it works now. :) That is of course untill I can let go of the GUI itself, for a possibly even faster server ;)


All times are GMT -5. The time now is 04:40 AM.