mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 12:52:04 +08:00
新文件: tool/password-check/ss-certificate-passwd
修改: tool/ssinstall
This commit is contained in:
11
tool/password-check/ss-certificate-passwd
Normal file
11
tool/password-check/ss-certificate-passwd
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
uname=`whoami`
|
||||
echo "Now input the password of $uname"
|
||||
read upass
|
||||
passcheck=`echo "$upass" | sudo -S echo "i love amber forever"`
|
||||
if [ "$passcheck" != "i love amber forever" ];then
|
||||
echo "E:Wrong Password"
|
||||
exit 1
|
||||
else
|
||||
echo "go go Baron Bunny"
|
||||
fi
|
||||
Reference in New Issue
Block a user