php-db | 2001011
Date: 01/04/01
- Next message: Manuel Lemos: "Re: [PHP-DB] searching for host"
- Previous message: Julio Cuz, Jr.: "[PHP-DB] Re: pg_shadow???"
- Next in thread: Steve Bern: "[PHP-DB] Re: [PHP] Autologin problem"
- Reply: Steve Bern: "[PHP-DB] Re: [PHP] Autologin problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Manuel Lemos: "Re: [PHP-DB] searching for host"
- Previous message: Julio Cuz, Jr.: "[PHP-DB] Re: pg_shadow???"
- Next in thread: Steve Bern: "[PHP-DB] Re: [PHP] Autologin problem"
- Reply: Steve Bern: "[PHP-DB] Re: [PHP] Autologin problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

