| От | Tomas Berndtsson |
|---|---|
| Тема | Re: Serious environment problem with 7.2 on Solaris |
| Дата | |
| Msg-id | 80it5sumw8.fsf@junk.nocrew.org обсуждение исходный текст |
| Ответ на | Re: Serious environment problem with 7.2 on Solaris (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
Tom Lane <tgl@sss.pgh.pa.us> writes: > Randall Perry <rgp@systame.com> writes: > > LD_LIBRARY_PATH is set in root & postgres login script, but strange things > > are happening with it. If I ssh into server using postgres account > > LD_LIBRARY_PATH is set. But if I su postgres from another account it isn't, > > though all other variables from login script are set ok. > > Hm. Not sure about Solaris, but on HPUX plain "su postgres" does not > run postgres' login script. You have to do "su - postgres" to make that > happen. Perhaps Solaris has some similar distinction? Solaris is paranoid. It will only read the profile files for 'su - user' if the shell for the user is '/usr/bin/sh'. Nothing else is allowed, or the profile file is not read. At least this is true for Solaris 8, not sure about others. Tomas
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера