set nologin shell correctly on different OSs

This commit is contained in:
sceox 2021-12-27 15:26:58 -08:00
parent 4a28125ee2
commit c64617f937

View File

@ -16,7 +16,7 @@ To deploy:
3. Create the user the scripts will run as:
useradd -s /sbin/nologin _forumspam
useradd -s $(which nologin) _forumspam
4. Set up the firewall program