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

@@ -5,4 +5,4 @@ supports="linux_arm,linux_mips,linux_x86_64"
backupfiles="config/ftpuser.conf" backupfiles="config/ftpuser.conf"
appinfo="快速搭建Ftp服务器局域网文件共享" appinfo="快速搭建Ftp服务器局域网文件共享"
newinfo="修复arm版vsftpd无法启动的bug" newinfo="修复arm版vsftpd无法启动的bug"
version="0.0.6" version="0.0.7"

View File

@@ -34,6 +34,7 @@ add(){
echo -e "$2\n$2" | passwd $1 > /dev/null 2>&1 echo -e "$2\n$2" | passwd $1 > /dev/null 2>&1
} }
del(){ del(){
sed -i "/^$1/"d /etc/passwd sed -i "/^$1/"d /etc/passwd
sed -i "/^$1/"d /etc/shadow sed -i "/^$1/"d /etc/shadow