diff --git a/README.md b/README.md index 1320cec..9544bdb 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ It should already be there from the install, but if not You can add Users for both the CLI and Web - koji-add-user [ permisssions= | debug ] + koji-add-user [ permisssion= | debug ] This will add them into the db and generate ssl CLI and browser keys, which will be bundled up in a tgz file at /etc/pki/koji/bundle/koji-\-bundle.tgz. This bundle should be extracted in their home (~) directory and will create a .koji directory with config and keys. diff --git a/koji-setup/koji-add-user.sh b/koji-setup/koji-add-user.sh index f5f13cb..bc7e443 100644 --- a/koji-setup/koji-add-user.sh +++ b/koji-setup/koji-add-user.sh @@ -9,7 +9,7 @@ for param in $1 $2 $3 ; do case $param in debug ) DEBUG="debug" ;; - perms=* ) + permission=* ) NEW_PERMS=${param#*=} ;; * ) NEW_USER=$param ;;