#!/bin/sh
PSADMINDIR=$1
domain=$2
cmd=$3
LD_LIBRARY_PATH=$PSADMINDIR:/lib:/usr/lib:$LD_LIBRARY_PATH
PATH=$PSADMINDIR:/bin:$PATH
export LD_LIBRARY_PATH PSADMINDIR PATH
psadmin -p tmadmin -d $domain $cmd 
