close
加入useradd +eduquota+passwd
#!/bin/bash
#####################
#
#This is a test shell script
#
####################
#
#load PATH
#
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH
####################
#
#Program :
#
useradd -G user $1
echo "User Add Done!!"
echo "---------------------------------"
echo "Please Enter Password for" $1
passwd $1
edquota -p userquotademo $1
echo ""
echo "Quota Add Done!"
echo ""
echo "Done!!"
全站熱搜
留言列表