cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Janani (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7212) Allow to switch user within CQLSH session
Date Wed, 08 Apr 2015 13:47:14 GMT


Sachin Janani commented on CASSANDRA-7212:

Yes you are right will do those changes. I am not recalling why I have change the grammer
at server I think I have got some exception let me try that once again
bq. Since this is only a cqlsh improvement, I'd rather the changes were contained to cqlsh
instead of including changes to the server-side grammar.
But when we login to cqlsh using ./cqlsh -u <username > -p <password> at that
time also the command is saved in history.So is it really needed?If yes then do we need to
disable echoing the charecters on screen when user enters the password?
bq. Also, we should allow prompting for the password instead of specifying in the command
in case people don't want the password to end up in their history.

> Allow to switch user within CQLSH session
> -----------------------------------------
>                 Key: CASSANDRA-7212
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>         Environment: [cqlsh 4.1.1 | Cassandra | CQL spec 3.1.1 | Thrift protocol
>            Reporter: Jose Martinez Poblete
>              Labels: cqlsh
>         Attachments: 7212_1.patch
> Once a user is logged into CQLSH, it is not possible to switch to another user  without
exiting and relaunch
> This is a feature offered in postgres and probably other databases:

> Perhaps this could be implemented on CQLSH as part of the "USE" directive:
> USE <Keyspace> [USER] [password] 

This message was sent by Atlassian JIRA

View raw message