[plug] DebNewbie Q?

sol solhanna at dingoblue.net.au
Tue Nov 6 17:28:10 WST 2001


Anthony J. Breeds-Taurima wrote:

>>  (I thought that 
>> this was the tool for the job) and did this:
>> 
>> suidregister /var/lib/postgres/data/pg_shadow sol postgres 600
> 
> reverse this.
> 
> as root
> createuser -P sol
> answer yes to all the questions.
> 
> This will creat you a postgres account.  from there you should be pretty
> set to follow the book.

Thanks Tony.
createuser was what I was looking for (I checked the man pages). But 
guess what? I just got the same error message:

Connection to database 'template1' failed.
ERROR: mdopen: couldn't open /var/lib/postgres/data/pg_shadow: 
Permission denied.

Do I need to chmod something here?

Ta to the max,
Sol





More information about the plug mailing list