Received: from eshell.net ([63.224.18.113]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f05FjE708565 for ; Fri, 5 Jan 2001 10:45:14 -0500 (EST) (envelope-from sabern@eshell.net) Received: from localhost (sabern@localhost) by eshell.net (8.11.0/8.11.0) with ESMTP id f05FjVg07169; Fri, 5 Jan 2001 09:45:32 -0600 Date: Fri, 5 Jan 2001 09:45:31 -0600 (CST) From: Steve Bern To: "Julio Cuz, Jr." cc: pgsql-php@postgresql.org, php-db@lists.php.net Subject: Re: Autologin problem In-Reply-To: <4.3.2.7.2.20010104184601.00b998a8@rccd.cc.ca.us> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200101/12 X-Sequence-Number: 77 I assume you're trying to get PostGresql to load automatically. In RH, get rid of the stuff you wrote below and put in the following line (in rc.local): /etc/rc.d/init.d/postgresql start This is the proper way to start the DB.-- Read the file to see what it does. You can also stop and restart it in similar fasion. On Thu, 4 Jan 2001, Julio Cuz, Jr. wrote: > 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 >