! in password not working on command line

Moderator: NorbertKrupa

Post Reply
User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

! in password not working on command line

Post by Julie » Mon Feb 24, 2014 3:42 pm

Hi all,

How can I log into vsql at the command line when the user password includes a exclamation point?

Code: Select all

[dbadmin@vertica1 ~]$ vsql -U comp_user -w"<:X+FT)tK!"
-bash: !": event not found
I thought enclosing the password in double quotes would work :(
Thanks,
Juliette

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: ! in password not working on command line

Post by id10t » Mon Feb 24, 2014 4:13 pm

Hi!

[DELETED]
Last edited by id10t on Fri May 08, 2015 4:36 pm, edited 1 time in total.

User avatar
Julie
Master
Master
Posts: 221
Joined: Thu Apr 19, 2012 9:29 pm

Re: ! in password not working on command line

Post by Julie » Tue Feb 25, 2014 1:31 pm

Hi sKwa!

Thanks for your reply. I decided to take your advice and simply change the password! That was a lot easier :lol:
Thanks,
Juliette

Post Reply

Return to “vSQL”