how to add new users if user_list is used for maintaining the users in vsftpd(centos)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The user_list file is used by the 'userlist_enable' option to provide a list of denied users, unless 'userlist_deny' is set to NO then it means the opposite. This file is not where you create users, do it in the usual place - either local or virtual.
Well virtual-user.txt file isnt there at all....or is it that we need to create that ourselves?
And there are users along with their passwords in userlist file like the way we usually have in virtual-user.txt file.And i tried to ftp with those username and password and it worked. so i'm stuck with adding of new users now.
.
And userlist option in vsftpd.conf is as follows:
or just adding the user over there ,i mean in the userlist file will add the new users unlike in virtual-user.txt file where we need to load the db as well.
I'm not talking about the local user...ya for local user we can add by useradd..
I'm talking about the ftp users who are allowed to upload and have their own links in the web where the uploaded materials are..
Actually when i type that ftp address in web,it asks for password and only those users present in user_list are allowed to login there..
The other users added via useradd can login only through the terminal..
so i wanted to add new user to that user_list file and i even added to it,but i cant login with that username..so what should i do for it?actually if it's for virtual-users.txt,we use db_load ..... command so that the new user comes into play..
So i'm asking how should i do that with user_list file?
You didn't get what I said in my first post - this file is not used to authenticate users, just to determine those who are permitted or not permitted to log in.
But my question is we have list of users along with their passwords in that file and if i were to add users to that file,how do i go about it?and ya 'useradd' doesnt add user to that file..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.