On 10/21/2013 05:50 AM, Mark Haney wrote:
Now, this has worked perfectly for 3 months now, but the last few days I
started getting errors about failed authentication to the databases.
Here's where it gets weird. I can su postgres - from a BASH prompt just
fine,but when I run the script, it asks
On Mon, 21 Oct 2013, Mark Haney wrote:
I will definitely have to look at that. It has to be something like this since
it was working until I had to mess with the setup to allow our devs to monitor
the DB and backups from Jenkins. Thanks for the help.
Don't forget to check your system pr
> My problem is this, if it works as root from a bash prompt, why /won't/ it
> work as root from a bash script? Shoudn't it ask for the password in both
> instances?
>
>
>
Yeah, you'd think so. When stuff like that happens to me, it's often that the
environments are different -- I sometimes
On Mon, 21 Oct 2013, Mark Haney wrote:
My problem is this, if it works as root from a bash prompt, why /won't/ it work
as root from a bash script? Shoudn't it ask for the password in both instances?
Yeah, you'd think so. When stuff like that happens to me, it's often that the
environm
On Mon, 21 Oct 2013, Mark Haney wrote:
Is it asking for root password or postgres password?
As I'm running the script as root, it's almost certainly asking for thepostgres
user password.
Heh. You'd think so. But, I've managed to inadvertently su to some user in a
script and then run a
> su postgres - -c
>
>
>
> Now, this has worked perfectly for 3 months now, but the last few days
> I started getting errors about failed authentication to the databases.
> Here's where it gets weird. I can su postgres - from a BASH prompt just
> fine,but when I run the script, it asks
Is it asking for root password or postgres password?
As I'm running the script as root, it's almost certainly asking for thepostgres
user password.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/lis
On Mon, 21 Oct 2013, Mark Haney wrote:
This may sound like a rather juvenile BASH question, but I'm rather stumped and
hope it's something simple to fix. I hope someone has the answer since I
don't really have time (swapping out firewalls and half my network is down) to
research it.
I h
On Mon, 21 Oct 2013, Mark Haney wrote:
This may sound like a rather juvenile BASH question, but I'm rather stumped and
hope it's something simple to fix. I hope someone has the answer since I
don't really have time (swapping out firewalls and half my network is down) to
research it.
I h