Hi

I've been creating a new Jenkins install based on the 1.509.1 LTS version.
I've now setup the global security to only allow certain users to
administer the system but it seems I've hit a slight glitch when trying to
use Jenkins CLI.

I've loaded up my public key against the admin user and the following
command succeeds:
java -jar jenkins-cli.jar -i ~/.ssh/id_rsa -s http://myhost/ci safe-restart

However according to the Wiki page @
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI, the following
should work as well:
java -jar jenkins-cli.jar -s http://myhost/ci safe-restart

(i.e. I shouldn't need to explicitly point to my private key as its one of
 ~/.ssh/identity, ~/.ssh/id_dsa, or ~/.ssh/id_rsa)

Unfortunately the latter gives me:
hudson.security.AccessDeniedException2: anonymous is missing the Administer
permission

It's not a big issue that I have to specify the private key manually but
wondering if this is a defect in the system or the documentation (or, of
course, my usage/understanding :) )

Thanks
Richard.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to