How do I copy user credentials from a MySQL table into SSH users
I'm currently running a membership site which is Joomla-based. Basically I need a bash script to constantly check that MySQL users table and copy those credentials into my SSH users list (subsequently giving them SSH access).
I've looked at pam_mysql, but that merely is for authentication, it doesnt add them to the SSH users.
How would I go about this? Or is there a better way to implement it, anyone?