path=$(dirname $0)
oldpwd=$(pwd)
cd ${path}
path=$(pwd)

if [ $# = 1 ]
then
	${path}/eriseutil -p $1 
else
	echo "Usage:erisepasswd username | groupname"
fi

cd ${oldpwd}