pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Creating nobody user so website visitors can update records 2+ messages / 2 participants [nested] [flat]
* Creating nobody user so website visitors can update records @ 2000-02-27 00:12 George Jempty <jb4mt@webfielding.com> 0 siblings, 0 replies; 2+ messages in thread From: George Jempty @ 2000-02-27 00:12 UTC (permalink / raw) To: pgsql-admin; pgsql-novice@postgresql.org I got the following error message when testing my first postgresql web page: Warning: PostgresSQL query failed: WARN:counter: Permission denied. in /home/ez4gl/public_html/index.phtml on line 15 However, at the psql prompt I am able to execute the very same query that resulted in the above, so I presume it has to do with the user "nobody" accessing the web page. I would appreciate instructions on how to set up the nobody user and give nobody the appropriate permissions so I can pass them along to my web host, as I don't have postmaster or superuser status to do it myself, and I need to spoon feed it to my web host so he won't keep trying to push mySQL on me. Thanks in advance George Jempty ^ permalink raw reply [nested|flat] 2+ messages in thread
* RE: [ADMIN] Creating nobody user so website visitors can update r ecords @ 2000-02-27 01:52 Matthew <matt@ctlno.com> 0 siblings, 0 replies; 2+ messages in thread From: Matthew @ 2000-02-27 01:52 UTC (permalink / raw) To: 'George Jempty ' <jb4mt@webfielding.com>; pgsql-admin; 'pgsql-novice@postgreSQL.org ' <pgsql-novice@postgreSQL.org> This is an easy one. issue the command 'createuser' (without quotes). It will prompt you for the username to add. Enter user nobody, you can accecpt his Unix id. I would say no to the ability to create a database and is superuser questions. Then you have to grant permissions to user nobody on the objects in the database that you want to have read from the website. Hope that helps. Matt -----Original Message----- From: George Jempty To: pgsql-admin@postgreSQL.org; pgsql-novice@postgreSQL.org Sent: 2/26/00 6:12 PM Subject: [ADMIN] Creating nobody user so website visitors can update records I got the following error message when testing my first postgresql web page: Warning: PostgresSQL query failed: WARN:counter: Permission denied. in /home/ez4gl/public_html/index.phtml on line 15 However, at the psql prompt I am able to execute the very same query that resulted in the above, so I presume it has to do with the user "nobody" accessing the web page. I would appreciate instructions on how to set up the nobody user and give nobody the appropriate permissions so I can pass them along to my web host, as I don't have postmaster or superuser status to do it myself, and I need to spoon feed it to my web host so he won't keep trying to push mySQL on me. Thanks in advance George Jempty ************ ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-02-27 01:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2000-02-27 00:12 Creating nobody user so website visitors can update records George Jempty <jb4mt@webfielding.com> 2000-02-27 01:52 RE: [ADMIN] Creating nobody user so website visitors can update r ecords Matthew <matt@ctlno.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox