?? cdb_clearpass.sh
字號:
#!/bin/bash## This script is for sites prior to 5.0 which use# the cdb module and want to now support clear# text passwords. Run the script and it will# add a trailing ":" colon to each line in vpasswd.# Next time they set thier password the clear text# password will be stored.#DOMAINSDIR="/home/vpopmail/domains"VPOPMAILBIN="/home/vpopmail/bin"for i in `ls $DOMAINSDIR` ; do VPASSWD="$DOMAINSDIR/$i/vpasswd" if [ -f "$VPASSWD" ] ; then echo "converting $i ..." for v in `cat $VPASSWD | awk -F: '{ print $1 }'` ; do $VPOPMAILBIN/vmoduser -C "" $v@$i done fidone
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -