|
|
-
Connecting To Shell With Incorrect Password
David Medinets 2012-07-14, 00:20
I ran this command:
accumulo shell -u root -p bad_password
And was connected to the shell. I did not expect this to work. I could run the "tables" command. I could even choose a table to work with. However the scan and insert failed as shown below.
root@development> table david root@development david> scan 14 00:18:11,063 [shell.Shell] ERROR: org.apache.accumulo.core.client.AccumuloSecurityException: Error BAD_CREDENTIALS - Username or Password is Invalid root@development david> insert row1 cf1 cq1 value 14 00:18:25,952 [impl.ThriftScanner] WARN : Security Violation in scan request to 66.175.213.65:9997: ThriftSecurityException(user:root, code:BAD_CREDENTIALS) 14 00:18:26,046 [shell.Shell] ERROR: org.apache.accumulo.core.client.MutationsRejectedException: # constraint violations : 0 # authorization failures : 1 # server errors 0 # exceptions 0
The config -T command did work which is probably not good.
Am I correct that my initial connection to the shell with an incorrect password should fail? If so, it's JIRA time!
-
Re: Connecting To Shell With Incorrect Password
William Slacum 2012-07-14, 00:53
That seems dumb-- make the ticket!
On Fri, Jul 13, 2012 at 8:20 PM, David Medinets <[EMAIL PROTECTED]>wrote:
> I ran this command: > > accumulo shell -u root -p bad_password > > And was connected to the shell. I did not expect this to work. I could > run the "tables" command. I could even choose a table to work with. > However the scan and insert failed as shown below. > > root@development> table david > root@development david> scan > 14 00:18:11,063 [shell.Shell] ERROR: > org.apache.accumulo.core.client.AccumuloSecurityException: Error > BAD_CREDENTIALS - Username or Password is Invalid > root@development david> insert row1 cf1 cq1 value > 14 00:18:25,952 [impl.ThriftScanner] WARN : Security Violation in scan > request to 66.175.213.65:9997: ThriftSecurityException(user:root, > code:BAD_CREDENTIALS) > 14 00:18:26,046 [shell.Shell] ERROR: > org.apache.accumulo.core.client.MutationsRejectedException: # > constraint violations : 0 # authorization failures : 1 # server > errors 0 # exceptions 0 > > The config -T command did work which is probably not good. > > Am I correct that my initial connection to the shell with an incorrect > password should fail? If so, it's JIRA time! >
-
Re: Connecting To Shell With Incorrect Password
David Medinets 2012-07-14, 01:22
I post here first to see if someone confirms the problem. My first assumption is that I'm doing something wrong.
-
Re: Connecting To Shell With Incorrect Password
Jim Klucar 2012-07-14, 03:54
I know that some of the thrift calls (get master stats comes to mind) have the password in the thrift call, but don't do anything with it.
Sent from my iPhone
On Jul 13, 2012, at 9:22 PM, David Medinets <[EMAIL PROTECTED]> wrote:
> I post here first to see if someone confirms the problem. My first > assumption is that I'm doing something wrong.
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext