Displaying 1 result from an estimated 1 matches for "zimbranam".
Did you mean:
zambrana
2008 Nov 27
2
OT: bash script for passwd and shadow manipulation
...in/bash
# Passwd to Zimbra import
# This script modifies the displayName field in the Zimbra mailserver
# This script will parse /etc/passwd and extracts field 1 and field 5
# field 1 is the username.
# field 5 is the name in long format of the username
#
# domain="oj.gob.pa"
# file="zimbranames.file"
# x=0
# echo ''>$file
#
# for linia in `cat /etc/passwd`
# do
# user=`echo $linia|cut -f1 -d":"`
# nombre=`echo $linia|cut -f5 -d":"`
# echo "zmprov ma $user@$domain displayName $nombre">>$file
# x=$[x+1]
# done
# echo "$x...