考勤程序运行后,提示用户输入上述功能选择,并验证用户输入的用户名和密码;用户信息保存在userinfo.dat中。
function createInfoFile(){ 101 if [[ ! -e userinfo.dat ]]; then 102 touch userinfo.dat #保存用户名和密码 103 chmod 777 userinfo.dat 104 fi 105 if [[ ! -e check.dat ]]; then 106 touch check.dat #保存迟到早退信息 107 chmod 777 check.dat 108 fi 109 110 }
账号密码怎么弄啊救救孩子吧