getdbauth sub to be position and directory independent, as on parseproc.pl