Shell script

Brian Densmore DensmoreB at ctbsonline.com
Wed Nov 12 21:29:36 CST 2003


shouldn't that be 750?

> -------------------------------------------------
> #!/bin/sh
> 
> myprocedure () {
>    local IFS='  '       
>    while read USER PASS JUNK
>    do
>      adduser -g ftp -s /etc/ftponly -d
> 	/var/www/html/web.domain.com/./$USER $USER
>      echo $USER:$PASS |chpasswd
>      chown $USER:ftp /var/www/html/web.domain.com/$USER
>      chmod 705 /var/www/html/web.domain.com/$USER




More information about the Kclug mailing list