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