Autologin problem

Поиск
Список
Период
Сортировка
От Julio Cuz, Jr.
Тема Autologin problem
Дата
Msg-id 4.3.2.7.2.20010104184601.00b998a8@rccd.cc.ca.us
обсуждение исходный текст
Ответы Re: Autologin problem  (Steve Bern <sabern@eshell.net>)
Список pgsql-php
Hi--

I'm trying to run the following command on the "/etc/rc.local" so it will
run everytime (RedHat 7/PHP4/PostgreSQL):

nohup su -c 'postmaster -i -D /usr/local/pgsql/data \
</dev/null >>server.log 2>>1 &' <username>

The problem is that <username> has a password set, and since Linux doesn't
ask for it when it's on the rc.local file, my command fails.

Is there a way to include the password with the "su" command?

Is there a way to CLEAR a user's password and set it to NULL?

Julio Cuz, Jr.
Riverside Community College
jcuz@rccd.cc.ca.us


В списке pgsql-php по дате отправления:

Предыдущее
От: "Julio Cuz, Jr."
Дата:
Сообщение: Re: pg_shadow???
Следующее
От: "Adam Lang"
Дата:
Сообщение: Re: Autologin problem