LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-11-2007, 04:47 PM   #1
Plan-1130
LQ Newbie
 
Registered: Mar 2006
Location: Enschede, the Netherlands
Posts: 12

Rep: Reputation: 0
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

Last edited by Plan-1130; 01-13-2007 at 02:22 AM.
 
Old 01-12-2007, 12:21 PM   #2
Plan-1130
LQ Newbie
 
Registered: Mar 2006
Location: Enschede, the Netherlands
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 01-12-2007, 12:38 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 60
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.
 
Old 01-13-2007, 02:31 AM   #4
Plan-1130
LQ Newbie
 
Registered: Mar 2006
Location: Enschede, the Netherlands
Posts: 12

Original Poster
Rep: Reputation: 0
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

Last edited by Plan-1130; 01-13-2007 at 02:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd settingd and VSFTPD DEAD BUT SUBSYS LOCKED pc_copat Linux - Newbie 15 11-05-2009 11:31 PM
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 08:24 PM
vsftpd & ssl - how do I tell if it's actually vsftpd maintaining the connections?? hunterhunter Linux - General 0 03-27-2006 05:41 PM
VSFTPD with 500 oops :vsftpd: missing argv[0] mole_13 Linux - Newbie 0 05-04-2005 02:05 AM
vsftpd.user_list and userlist_enable not working. johniccp Linux - Security 5 11-06-2003 04:57 PM


All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration