From: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: ipcclean in 8.1 broken? |
Date: | 2006-03-02 01:27:17 |
Message-ID: | 440649F5.7080005@familyhealth.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>> if [ "$USER" = 'root' -o "$LOGNAME" = 'root' ]
>>
>> Always fails because even tho $USER is set to 'pgsql' when su'ed,
>> $LOGNAME is still root.
>>
>> This is on FreeBSD 4.9
>
> It seems to work on Linux; apparently there are different behaviors of su. Do
> you have a suggestion for resolving this?
Well all I did to fix it on FreeBSD was to remove the '-o "$LOGNAME" =
'root'' bit...
Chris
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2006-03-02 01:29:22 | Re: ipcclean in 8.1 broken? |
Previous Message | Mark Dilger | 2006-03-02 01:18:12 | Re: [SQL] Interval subtracting |