mirror of
https://github.com/FAUSheppy/jeffrey_miller_flask_ftp
synced 2025-12-07 18:01:35 +01:00
safely lock out ftp users
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
useradd -m -p ${1} ${2}
|
||||
usermod -L ${1}
|
||||
chsh -s "/sbin/nologin/" ${1}
|
||||
|
||||
Reference in New Issue
Block a user