⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdb_clearpass.sh

📁 相当优秀的 UNIX 进程管理工具
💻 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 + -