• 2022-06-06 问题

    完整登录的脚本:(用户名为"yctei",密码为”123456“)#!/bin/bashecho "user:"echo "passwd:"read passwdif [ "$user" = "yctei" ] && [ "$passwd" = "123456" ]; thenecho "SUCCESS!"else echo "user name or passwd ERROR!"

    完整登录的脚本:(用户名为"yctei",密码为”123456“)#!/bin/bashecho "user:"echo "passwd:"read passwdif [ "$user" = "yctei" ] && [ "$passwd" = "123456" ]; thenecho "SUCCESS!"else echo "user name or passwd ERROR!"

  • 1