[Serusers] Doubt in serctl script

Alejandro Olchik aolchik at telenova.net
Thu May 22 21:47:10 CEST 2003


Looking at the serctl rm command the followin shell
script is found:

        rm)
        if [ $# -ne 2 ] ; then
            usage
            exit 1
        fi
                shift
                prompt_pw

        is_user $1
        if [ $? -ne 0 ] ; then
            echo non-existent user
            exit 1
        fi

                QUERY="delete from $TABLE where
$TABLE.$SUBSCRIBER_COLUMN='$1'"
                sql_query "$QUERY"

                $0 acl revoke $1 > /dev/null 2>&1
                $0 dul $1   > /dev/null 2>&1
        ;;

What does $0 dul $1... do?

Anybody knows?


Alejandro





More information about the sr-users mailing list