gheist
asked on
Prevent login on dead linux home directories
I have complex setup of nfs automounts and ldap. If automount of faraway user fails for whatever reason I would like to deny login for a user instead of starting useless $SHELL in /
PS I know pam.d.
PS I know pam.d.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ended up using pam_exec and writing in C 'touch $HOME/.'
Thank you for showing the right way ;)
Thank you for showing the right way ;)
ASKER