cnet wrote:
> hmmnn...sir where could i find the script.....
> sorry...i tried to look for it....but could not find it...

Um...I have my own  :)  

e.g.:


#!/bin/sh
#
# This is script 0x2, for ISPd
# Arguments given are:
# $1 == User name
# $2 == Home directory
# $3 == Mailbox location
# $4 == Default shell
# $5 == Quantity (maybe a multiple of a quota account...)
# $6 == Billing method
# $7 == Supplemental data
#

/usr/sbin/adduser -n -g 100 -s ${4} -d ${2} ${1}
/bin/chmod a+rx ${2} -R

cd ${2}

/var/qmail/bin/maildirmake ${3}
/bin/chown --recursive ${1} ${3}

echo ${1} >> /etc/mail2all

/usr/sbin/edquota -p admin ${1}

cat /etc/newuser.msg | mail ${1}

ln -s ${2} /home/httpd/html/${1}


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to