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