PDA

View Full Version : vsftpd and adding 'ftp' user


Gon
01-28-2007, 09:36 PM
I need help with something. Im building the vsftpd pbi. It works ok for local users. I chrooted them by default.

My problems comes out because I need a user for anonymous users of the ftp. I decided to offer the possibility to create automatically the ftp user.

So, Can u tell me different tested ways to add a user via shellcommand?


PD: I have been trying editing /etc/passwd and adding a new user but doesnt work.

marc
01-28-2007, 10:33 PM
Custom script which uses "pw", "adduser" maybe ... ?

pw
usage:
pw [user|group|lock|unlock] [add|del|mod|show|next] [help|switches values]