Using VSQL_PASSWORD... Is it safe?

Moderator: NorbertKrupa

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

Using VSQL_PASSWORD... Is it safe?

Post by Julie » Thu Aug 30, 2012 1:11 pm

Hi there,

I've been using the VSQL_PASSWORD environment variable for the root user (via its .bash_profile and .bashrc files) to define my the password for my Vertica dbadmin super user because I got lazy and didn't feel like typing in the password anymore when running vsql logged in as root.

I' m wondering now if this is safe/secure... Anyone else using this variable?
Thanks,
Juliette

User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1825
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Re: Using VSQL_PASSWORD... Is it safe?

Post by JimKnicely » Wed Oct 10, 2012 2:39 pm

Hi Juliette,

I am also using the VSQL_PASSWORD environment variable. Just make sure there are no other OS users that have access to root's .bashrc file (i.e. read access) and you should be okay.

Thanks!
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

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

Re: Using VSQL_PASSWORD... Is it safe?

Post by Julie » Fri Oct 19, 2012 7:39 pm

Thanks, knicely87! So far I've not had any issue using this variable either. We have the root account locked down so I don't anticipate any issue in the future :)
Thanks,
Juliette

Post Reply

Return to “New to Vertica Database Administration”