2020-04-26 23:41:26

This commit is contained in:
monlor
2020-04-26 23:41:27 +08:00
parent b664f7dbd9
commit 4f70d8675e
2 changed files with 2 additions and 1 deletions

View File

@@ -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