Difference between revisions of "Trillex - programming in perl with cgi and dbi"
From Teknologisk videncenter
(New page: Category:LinuxCategory:PerlCategory:Projekt = Programming with Perl with webinterface and database injections = As a final project in Perl, I decided to make a script that cou...) |
(No difference)
|
Revision as of 09:35, 18 September 2009
Programming with Perl with webinterface and database injections
As a final project in Perl, I decided to make a script that could be useful as a linux adminstrator. The script is very situational, however, since it makes use of a specific setup.
What the script does, is add a new user to the database "pureftpd" in the table "ftpd". This is in a MySQL database. The only situation you'd need to do this, is when you have set your FTP daemon up for virtual users, i.e. the user accessing the FTP does not have access to the server itself through SSH, like it would normally if we create another user on most UNIX systems.