windows2000 server如何设置开机密码

来源:百度知道 编辑:UC知道 时间:2024/07/07 18:53:52

#!/bin/bash
#脚本用法
if [$# == 1]
then
echo "make sure $1 format is right"
read -n 1
else
echo "usage: ./thisshell namepasswd.lst "
exit
fi
# 脚本必须由root用户执行
currentuser=`id -u`
if [$currentuser==1]
then
echo "脚本必须由root用户执行"
exit
fi
chpasswd