We are doing an install of vertica using a sudo user.
When we run the validate we get an error:
This script must be run in bash.
Which bash shows /usr/bin/bash
The validate calls a function that explicitly checks for bash in /bin/bash
bin/propertiesSystemChecksFunctions.sh: if [ "$SHELL" != '/bin/bash' ]
Release : 3.7
Both the dr_validate and vertica itself make a pass/fail call to check if you are using bash specifically from /bin/bash.
So the sudo user must use this path.
To check the available shells:
Use usermod to edit the default shell of the user to /bin/bash
usermod <user> -s /bin/bash
Easiest way to verify that the change was made is to:
And look for the username, the shell will be listed here.