[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-admin
Subject:    Re: [ADMIN] FATAL 1: SetUserId:
From:       Maarten Boekhold <maartenb () dutepp2 ! et ! tudelft ! nl>
Date:       1998-08-14 10:35:04
[Download RAW message or body]

On Thu, 13 Aug 1998, Bernd Johannes Wuebben wrote:

> 
> On 13-Aug-98 Marcio Macedo wrote:
> > You can also try this
> > As root:
> >       su - postgres
> >       createuser user_name
> > this will probably allow your user to create and use databases.
> 
> This doesn't work either. But that is no surprice, here is the
> relevant line of my /etc/passwd :
> 
> postgres:!!:100:233:PostgreSQL Server:/var/lib/pgsql:/bin/bash        
> 
> There is no password associated so I can NOT log in as postgres.

Yes tou can. If you're root you can become *any* user *without* having 
passwords with 'su'.

Maarten

_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems  |
|                   Department of Electrical Engineering                    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic