Received: from intergate.rccd.cc.ca.us (intergate.rccd.cc.ca.us [204.69.0.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f052rX747352 for ; Thu, 4 Jan 2001 21:53:33 -0500 (EST) (envelope-from jcuz@rccd.cc.ca.us) Received: from ismv.rccd.cc.ca.us ([207.233.113.253]) by intergate.rccd.cc.ca.us (8.9.1a/8.9.1) with ESMTP id SAA11704; Thu, 4 Jan 2001 18:54:39 -0800 (PST) Message-Id: <4.3.2.7.2.20010104184601.00b998a8@rccd.cc.ca.us> X-Sender: jcuz@rccd.cc.ca.us X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 04 Jan 2001 18:55:13 -0800 To: pgsql-php@postgresql.org, php-db@lists.php.net From: "Julio Cuz, Jr." Subject: Autologin problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200101/10 X-Sequence-Number: 75 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 \ >server.log 2>>1 &' The problem is that 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