Trillex - programming in perl with cgi and dbi

From Teknologisk videncenter
Revision as of 09:35, 18 September 2009 by Trillex (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.