If you use a central ldap server, you can use pam_mkhomedir in the clients PC in order to create the home directory. But creating user accounts on the fly, that is not recomend and I don't know if there is a module for that. I don't see why it should exists
HTH Oliver
Joe Lewis wrote:
Yes, though I'd have no clue as to why. The whole intent of PAM is to make the security of a device more easily configurable, and just opening the door for users to log in with a new user ID opens a LOT of security holes.
[snip]
If you have programming skills, you can create a module that catches the pam_sm_authenticate function, checks for the user, and if not found, creates the user and returns success.
Joe
Harold Martin wrote:
Is there any way I can use PAM to dynamically create a users, if the username doesn't exist? I've looked at creating a user whose sole purpose is to create users, but I don't want to do that.
How can I get something like this working?
Thanks, Harold
_______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list
_______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list
-- Oliver Schulze L. <oliver@xxxxxxxxxxxxx>
_______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list