mirror of
https://github.com/ThunixdotNet/makeuser.git
synced 2026-11-06 04:15:38 +00:00
outlaws goes to theusers.banned list
This commit is contained in:
1 parent
f9c526342e
commit
334f222e3d
1 file changed
+2
-1
@@ -5,9 +5,10 @@ CONFIG=./setenv
|
|||||||
|
|
||||||
if [ -z $1 ]
|
if [ -z $1 ]
|
||||||
then
|
then
|
||||||
echo -e "Usage: `basename $0` [ username ]"
|
echo -e "Usage: `basename $0` [ username | --baned ]"
|
||||||
else
|
else
|
||||||
remove_user $1
|
remove_user $1
|
||||||
|
[ -n $2 ] && [[ $2 == --banned ]] && echo $1 >> /root/users.banned
|
||||||
fi
|
fi
|
||||||
|
|
||||||
remove_user()
|
remove_user()
|
||||||
|
|||||||
Reference in new issue
Block a user