Member since
08-02-2018
14
Posts
2
Kudos Received
0
Solutions
08-27-2018
10:14 PM
2 Kudos
Hi @Jay Kumar SenSharma, These instructions didn't work for me when I tried it on my cluster with HDP 3.0 and Zeppelin 0.8.0. I noticed in my initial "Advanced zeppelin-shiro-ini", the passwords are encrypted strings, like user3 = $shiro1$SHA-256$500000$nf0GzH10GbYVoxa7DOlOSw==$ov/IA5W8mRWPwvAoBjNYxg3udJK0EmrVMvFCwcr9eAs=, role2<br> Then if I add a new user like this newuser = newuserpassword
Or like this newuser = newuserpassword, newrole
None of them worked. Am I missing something in the settings? To clarify, my purpose is to add a new Zeppelin user named `newuser`. Thanks! === Update === I found there is another line in my "Advanced zeppelin-shiro-ini" section `[main]` that says ## To be commented out when not using [user] block / paintext
passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
iniRealm.credentialsMatcher = $passwordMatcher And per Apache Shiro Configuration, that string starting with `$shiro` is a hash of the password. I commented out the two lines shown above and passwords stored in plain text in "Advanced zeppelin-shiro-ini" are ok now.
... View more