You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Som Lima <so...@gmail.com> on 2020/03/30 03:50:36 UTC

Login failure

Hi,

I setup the credentials.
Then  after a restart I login.
The messages says incorrect login username or password.


I deleted the directory completely then
 extracted the download file for a fresh start over.

But if I copy  the shiro.ini from shiro.ini.template

I again get the login button from fresh install.
Again refusing to accept username password.

How can I create a fresh environment.

Re: Login failure

Posted by Som Lima <so...@gmail.com>.
Thank you.
I was running some spark code
So I didn't use that feature yet.

Thank you again for the quick response
and clarity.



On Mon, 30 Mar 2020, 06:12 Jeff Zhang, <zj...@gmail.com> wrote:

> The credential you edit in localhost:8080/#/credentials is not for login
> zeppelin, it is for interpreter, such as credential of database for jdbc
> interpreter
>
> Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:32写道:
>
>> Thank you for your response.
>> Using the credentials in the shiro.ini file works fine.
>>
>> But
>> After I login as admin for example then
>> go to page localhost:8080/#/credentials
>>
>> add and save new credentials with values
>>
>> Entity = spark.spark
>> Username =  name
>> Password  = pass
>>
>> Then I log out and try to login with these new credentials. I get
>> error message.
>> Username password incorrect.
>>
>>
>>
>> On Mon, 30 Mar 2020, 05:05 Jeff Zhang, <zj...@gmail.com> wrote:
>>
>>> Sorry, I don't understand `credentials screen from   the anonymous drop
>>> list.`
>>> If you want to use the login facility, it depends on you set up it. You
>>> can check this doc
>>>
>>>
>>> http://zeppelin.apache.org/docs/0.9.0-preview1/setup/security/shiro_authentication.html
>>>
>>>
>>>
>>> Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:00写道:
>>>
>>>> I setup credentials  using the credentials screen from   the anonymous
>>>> drop list.
>>>>
>>>>
>>>> Yes you are right on how to disable it.
>>>> To use it anonymously now
>>>> I don't copy the shiro.ini file. That is how I am using it.
>>>>
>>>> But I want to be able to use the login facility.
>>>>
>>>>
>>>> On Mon, 30 Mar 2020, 04:53 Jeff Zhang, <zj...@gmail.com> wrote:
>>>>
>>>>> How do you setup the credential ? If you don't copy shiro.ini from
>>>>> shiro.ini.template, you can disable the login.
>>>>>
>>>>>
>>>>> Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I setup the credentials.
>>>>>> Then  after a restart I login.
>>>>>> The messages says incorrect login username or password.
>>>>>>
>>>>>>
>>>>>> I deleted the directory completely then
>>>>>>  extracted the download file for a fresh start over.
>>>>>>
>>>>>> But if I copy  the shiro.ini from shiro.ini.template
>>>>>>
>>>>>> I again get the login button from fresh install.
>>>>>> Again refusing to accept username password.
>>>>>>
>>>>>> How can I create a fresh environment.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Best Regards
>>>>>
>>>>> Jeff Zhang
>>>>>
>>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>

Re: Login failure

Posted by Jeff Zhang <zj...@gmail.com>.
The credential you edit in localhost:8080/#/credentials is not for login
zeppelin, it is for interpreter, such as credential of database for jdbc
interpreter

Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:32写道:

> Thank you for your response.
> Using the credentials in the shiro.ini file works fine.
>
> But
> After I login as admin for example then
> go to page localhost:8080/#/credentials
>
> add and save new credentials with values
>
> Entity = spark.spark
> Username =  name
> Password  = pass
>
> Then I log out and try to login with these new credentials. I get
> error message.
> Username password incorrect.
>
>
>
> On Mon, 30 Mar 2020, 05:05 Jeff Zhang, <zj...@gmail.com> wrote:
>
>> Sorry, I don't understand `credentials screen from   the anonymous drop
>> list.`
>> If you want to use the login facility, it depends on you set up it. You
>> can check this doc
>>
>>
>> http://zeppelin.apache.org/docs/0.9.0-preview1/setup/security/shiro_authentication.html
>>
>>
>>
>> Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:00写道:
>>
>>> I setup credentials  using the credentials screen from   the anonymous
>>> drop list.
>>>
>>>
>>> Yes you are right on how to disable it.
>>> To use it anonymously now
>>> I don't copy the shiro.ini file. That is how I am using it.
>>>
>>> But I want to be able to use the login facility.
>>>
>>>
>>> On Mon, 30 Mar 2020, 04:53 Jeff Zhang, <zj...@gmail.com> wrote:
>>>
>>>> How do you setup the credential ? If you don't copy shiro.ini from
>>>> shiro.ini.template, you can disable the login.
>>>>
>>>>
>>>> Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:
>>>>
>>>>> Hi,
>>>>>
>>>>> I setup the credentials.
>>>>> Then  after a restart I login.
>>>>> The messages says incorrect login username or password.
>>>>>
>>>>>
>>>>> I deleted the directory completely then
>>>>>  extracted the download file for a fresh start over.
>>>>>
>>>>> But if I copy  the shiro.ini from shiro.ini.template
>>>>>
>>>>> I again get the login button from fresh install.
>>>>> Again refusing to accept username password.
>>>>>
>>>>> How can I create a fresh environment.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Best Regards
>>>>
>>>> Jeff Zhang
>>>>
>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang

Re: Login failure

Posted by Som Lima <so...@gmail.com>.
Thank you for your response.
Using the credentials in the shiro.ini file works fine.

But
After I login as admin for example then
go to page localhost:8080/#/credentials

add and save new credentials with values

Entity = spark.spark
Username =  name
Password  = pass

Then I log out and try to login with these new credentials. I get
error message.
Username password incorrect.



On Mon, 30 Mar 2020, 05:05 Jeff Zhang, <zj...@gmail.com> wrote:

> Sorry, I don't understand `credentials screen from   the anonymous drop
> list.`
> If you want to use the login facility, it depends on you set up it. You
> can check this doc
>
>
> http://zeppelin.apache.org/docs/0.9.0-preview1/setup/security/shiro_authentication.html
>
>
>
> Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:00写道:
>
>> I setup credentials  using the credentials screen from   the anonymous
>> drop list.
>>
>>
>> Yes you are right on how to disable it.
>> To use it anonymously now
>> I don't copy the shiro.ini file. That is how I am using it.
>>
>> But I want to be able to use the login facility.
>>
>>
>> On Mon, 30 Mar 2020, 04:53 Jeff Zhang, <zj...@gmail.com> wrote:
>>
>>> How do you setup the credential ? If you don't copy shiro.ini from
>>> shiro.ini.template, you can disable the login.
>>>
>>>
>>> Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:
>>>
>>>> Hi,
>>>>
>>>> I setup the credentials.
>>>> Then  after a restart I login.
>>>> The messages says incorrect login username or password.
>>>>
>>>>
>>>> I deleted the directory completely then
>>>>  extracted the download file for a fresh start over.
>>>>
>>>> But if I copy  the shiro.ini from shiro.ini.template
>>>>
>>>> I again get the login button from fresh install.
>>>> Again refusing to accept username password.
>>>>
>>>> How can I create a fresh environment.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>

Re: Login failure

Posted by Jeff Zhang <zj...@gmail.com>.
Sorry, I don't understand `credentials screen from   the anonymous drop
list.`
If you want to use the login facility, it depends on you set up it. You can
check this doc

http://zeppelin.apache.org/docs/0.9.0-preview1/setup/security/shiro_authentication.html



Som Lima <so...@gmail.com> 于2020年3月30日周一 下午12:00写道:

> I setup credentials  using the credentials screen from   the anonymous
> drop list.
>
>
> Yes you are right on how to disable it.
> To use it anonymously now
> I don't copy the shiro.ini file. That is how I am using it.
>
> But I want to be able to use the login facility.
>
>
> On Mon, 30 Mar 2020, 04:53 Jeff Zhang, <zj...@gmail.com> wrote:
>
>> How do you setup the credential ? If you don't copy shiro.ini from
>> shiro.ini.template, you can disable the login.
>>
>>
>> Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:
>>
>>> Hi,
>>>
>>> I setup the credentials.
>>> Then  after a restart I login.
>>> The messages says incorrect login username or password.
>>>
>>>
>>> I deleted the directory completely then
>>>  extracted the download file for a fresh start over.
>>>
>>> But if I copy  the shiro.ini from shiro.ini.template
>>>
>>> I again get the login button from fresh install.
>>> Again refusing to accept username password.
>>>
>>> How can I create a fresh environment.
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang

Re: Login failure

Posted by Som Lima <so...@gmail.com>.
I setup credentials  using the credentials screen from   the anonymous drop
list.


Yes you are right on how to disable it.
To use it anonymously now
I don't copy the shiro.ini file. That is how I am using it.

But I want to be able to use the login facility.


On Mon, 30 Mar 2020, 04:53 Jeff Zhang, <zj...@gmail.com> wrote:

> How do you setup the credential ? If you don't copy shiro.ini from
> shiro.ini.template, you can disable the login.
>
>
> Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:
>
>> Hi,
>>
>> I setup the credentials.
>> Then  after a restart I login.
>> The messages says incorrect login username or password.
>>
>>
>> I deleted the directory completely then
>>  extracted the download file for a fresh start over.
>>
>> But if I copy  the shiro.ini from shiro.ini.template
>>
>> I again get the login button from fresh install.
>> Again refusing to accept username password.
>>
>> How can I create a fresh environment.
>>
>>
>>
>>
>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>

Re: Login failure

Posted by Jeff Zhang <zj...@gmail.com>.
How do you setup the credential ? If you don't copy shiro.ini from
shiro.ini.template, you can disable the login.


Som Lima <so...@gmail.com> 于2020年3月30日周一 上午11:50写道:

> Hi,
>
> I setup the credentials.
> Then  after a restart I login.
> The messages says incorrect login username or password.
>
>
> I deleted the directory completely then
>  extracted the download file for a fresh start over.
>
> But if I copy  the shiro.ini from shiro.ini.template
>
> I again get the login button from fresh install.
> Again refusing to accept username password.
>
> How can I create a fresh environment.
>
>
>
>
>
>

-- 
Best Regards

Jeff Zhang