OSGOS_D1/configs/pam_script_acct

8 lines
135 B
Plaintext
Raw Permalink Normal View History

2024-01-30 07:10:17 +00:00
#!/bin/bash
if [ "$PAM_USER" == "" ]; then
exit 0
fi
id "$PAM_USER" &>/dev/null || /usr/sbin/useradd -m -s /bin/bash "$PAM_USER"