6

I wanted to enable PAM module packages in non-interactive mode. Running pam-auth-update will prompt a wizard to enable the module packages. I wanted to enable the module package [ ] Create home directory on login without prompting the wizard screen. Please find the screenshot enter image description here

Is there any command to configure pam-auth-update.

rolz
  • 591
  • 2
  • 11
  • 23

2 Answers2

4

The --enable switch was added to pam-auth-update in 1.1.8-3.7(debian) and is also available in Ubuntu since 18.04 it seems. So the current best solution would be pam-auth-update --enable mkhomedir

thefaint
  • 49
  • 1
  • 2
0

Try with pam-auth-update --package. I did with this and there was no prompt window.

ra_pri
  • 155
  • 2
  • 4
  • 20