Page 1 of 1

! in password not working on command line

Posted: Mon Feb 24, 2014 3:42 pm
by Julie
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 :(

Re: ! in password not working on command line

Posted: Mon Feb 24, 2014 4:13 pm
by id10t
Hi!

[DELETED]

Re: ! in password not working on command line

Posted: Tue Feb 25, 2014 1:31 pm
by Julie
Hi sKwa!

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