分类:
2006-06-11 21:25:49
#!/bin/sh #FileName: addsmb_more.sh # echo -e "fjdkfj\nfjdkfj" | smbpasswd -a emily -s #Added user emily. while read line do #User Name is Lower name=`echo $line | tr [:upper:] [:lower:]` passwd=name #But the original directory is Upper echo -e "$passwd\n$passwd" | smbpasswd -a $name -s done |