[
https://issues.apache.org/jira/browse/HADOOP-9157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jingguo Yao updated HADOOP-9157:
--------------------------------
Description: In
http://hadoop.apache.org/docs/current/hadoop-auth/Examples.html, there is "curl
--negotiate -u foo -b ~/cookiejar.txt -c ~/cookiejar.txt
http://localhost:8080/hadoop-auth-examples/kerberos/who". A better way is to
use "-u :" instead of "-u foo". With the use of the former option, curl will
not prompt for a password. (was: In
http://hadoop.apache.org/docs/current/hadoop-auth/Examples.html, there is "curl
--negotiate -u foo -b ~/cookiejar.txt -c ~/cookiejar.txt
http://localhost:8080/hadoop-auth-examples/kerberos/who". A better way is to
use "-u :" instead of "-u foo". Withe the use of the former option, curl will
not prompt for a password.)
> Better option for curl in hadoop-auth-examples
> ----------------------------------------------
>
> Key: HADOOP-9157
> URL: https://issues.apache.org/jira/browse/HADOOP-9157
> Project: Hadoop Common
> Issue Type: Improvement
> Components: documentation
> Environment: Ubuntu 12.04
> Reporter: Jingguo Yao
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> In http://hadoop.apache.org/docs/current/hadoop-auth/Examples.html, there is
> "curl --negotiate -u foo -b ~/cookiejar.txt -c ~/cookiejar.txt
> http://localhost:8080/hadoop-auth-examples/kerberos/who". A better way is to
> use "-u :" instead of "-u foo". With the use of the former option, curl will
> not prompt for a password.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira