Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

does anyone here know of a PAM module that would allow me to use non-unix-kosher characters in a username? I have to migrate a bunch of people from some FTP host to the server with VSFTPd I setup; the only problem is the usernames on the last host all start with '@'

I've tried pam_pwdlist and pam_userdb so far. Neither supports the required username format, even though pam_userdb is BerkeleyDB backed.

(thanks!)

share|improve this question
    
Have you looked at using the ftp features that don't require local account at all? I.E proftpd allows you to store your users in a mysql database. Not sure if it permits the @ character though. –  Zoredache Oct 30 '12 at 23:21
    
Ya, vsftpd allows you to use pam or crypt only. Honestly at this point it might be easier to setup proftpd if it supports that character. Actually both pam_userdb and pam_pwdfile don't require local accounts - they both have you specify an alternate password file or database. –  Some Linux Nerd Oct 30 '12 at 23:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.