||Authenticating against MySQL with Perl
||Alejandro Grijalba (SuD)
# Mysql external auth script
# Features: auth and isUser work, but setPass doesn't.
# Restrictions: Username or passwords may not contain some special characters: $'"` nor line breaks
# Security considerations:
# - i am not sure whether password is shown in the "echo" sentence when listing processes, perhaps not if echo is a shell builtin
# - character filtering may not be perfect, but the most important '$"` are filtered out by this script
# - mysql user password should not be set on command-line, instead use --defaults-extra-file=...
# The file must contain [client] in the first line and password=... next (check some man page for more details)
# 2005-1-24 Modified by Alejandro Grijalba (SuD) http://www.latinsud.com
# Based on check_pass_null.pl script