Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I met "<anonymous> not authorized" when using myproxy-retrieve to get my credential. #169

Open
longlong10086 opened this issue Sep 22, 2021 · 2 comments

Comments

@longlong10086
Copy link

When I used the command “myproxy-retrieve -s myserver -k centso7 -l centos7” to get the credentials,
the error " not authorized by server's default authorized_key_retrievers policy" occurred,
is there any solution?

@maarten-litmaath
Copy link

You would need to upload the credential with the right options to allow it to be retrieved with what you present later.
Check the "-a", "-r" and "-Z" options in the myproxy-init man page. Beware: if you make it very easy for yourself, it might also be very easy for someone to steal your credential...

@longlong10086
Copy link
Author

@maarten-litmaath
Thank you for your reply.I still have some questions.
On the master node 'master', I executed " myproxy-admin-addservice -c "slave" -l slave" ,
on the slave node 'slave',
I executed "myproxy-get-trustroots -b -s master" and "myproxy-retrieve -s master -k slave -l slave" to get credential ,
then the error " not authorized by server's default authorized_key_retrievers policy" occurred .
And regarding the command "myproxy-init ", when to execute the it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants