Create non-login user
You can use the -M switch (make sure it's a capital) to ensure no home directory will be created:
useradd -s /sbin/nologin -M nlu
then lock the account to prevent logging in:
usermod -L nlu
-------
View users: cat /etc/passwd
View groups: cat /etc/group
sdmrnv, 2019-06-04 [1.83ms]
