Force PAM to create user home folder if it already not exists

Discussion in 'Desktop Operation' started by lorens, Nov 10, 2011.

  1. Richard Franklin

    Richard Franklin New Member

    Thanks for sharing! Having the same problem :)
     
  2. sami2020

    sami2020 Banned

    hey very good site for this jobs
     
  3. DAN CRACIUN

    DAN CRACIUN New Member

    Hello David,
    Thanks for sharing it with us. From your example I extended the script, to check if the user is not present in /etc/passwd to avoid multiple identical entries.
    However, my problem is that, if I try to login with a user wich is not created/present in Radius, the pam-script is executed, and this dummy user created.

    Any ideea how to avoid this?

     

Share This Page