psql profile.d script account control

This commit is contained in:
mjames-upc 2015-03-13 15:17:13 -06:00
parent 73f35ddf96
commit c155facc96

View file

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
if [[ $USER != "awips" && $USER != 'root' ]]; then
return
fi
# Is awips2-psql Installed? # Is awips2-psql Installed?
rpm -q awips2-psql > /dev/null 2>&1 rpm -q awips2-psql > /dev/null 2>&1
RC=$? RC=$?