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!!"


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 Aminzai 的頭像
    Aminzai

    Amin's Note

    Aminzai 發表在 痞客邦 留言(0) 人氣()