mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-04-26 23:41:26
This commit is contained in:
@@ -34,6 +34,7 @@ add(){
|
||||
echo -e "$2\n$2" | passwd $1 > /dev/null 2>&1
|
||||
|
||||
}
|
||||
|
||||
del(){
|
||||
sed -i "/^$1/"d /etc/passwd
|
||||
sed -i "/^$1/"d /etc/shadow
|
||||
|
||||
Reference in New Issue
Block a user