Welcome to the most active Linux Forum on the web.
Go Back > Blogs > sudhagud
User Name


Rate this Entry

VSFTPD Virtual User Bash Scripts

Posted 01-04-2012 at 12:33 AM by sudhagud

These BASH script set have been written with the purpose of making the administration of VSFTPD virtual users easy, like creation, deletion, update. The scripts assume that pam_userdb is being used for Authentication along with local shell users.
The Scripts are very customizable with a single .conf file and can be used in internal VLAN office scenarios and in small to medium Production servers which face the internet.

The scripts:
vuserchk - checks the necessary files and folders necessary for these scripts
vuser.conf - the file containing configuration parameters for these scripts
vuseradd - adds a virtual user
vuserdel - delets a virtual user
vuserres - restores a deleted user
vuserpas - changes a virtual user password
vusersho - displays the user password
lusersnc - new script to sync the local user folders with the ftp folders with a symlink in the shell home folder

The scripts are very verbose and will display messages and errors which are self explanatory.

These scripts are very non intrusive and have a simple logic flow. Prerequisites are BASH, GAWK, SED for the scripts to work.

A step by step how-to can be found at or at http://sudhakarbellamkonda.blogspot....tion-bash.html

Website at
Views 961 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 03:09 PM.

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