be extra safe with ssh logins

This commit is contained in:
Yannik Schmidt
2021-08-31 01:16:43 +02:00
parent 39b7032983
commit 15bfb4335b
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
#!/bin/bash
useradd -m -p ${1} ${2}
usermod -L ${2}
chsh -s "/sbin/nologin" ${2}