| From: | Maarten Boekhold <maartenb(at)dutepp2(dot)et(dot)tudelft(dot)nl> |
|---|---|
| To: | Bernd Johannes Wuebben <wuebben(at)math(dot)cornell(dot)edu> |
| Cc: | Marcio Macedo <marciom(at)conectiva(dot)com(dot)br>, pgsql-admin(at)postgreSQL(dot)org |
| Subject: | Re: [ADMIN] FATAL 1: SetUserId: |
| Date: | 1998-08-14 10:35:04 |
| Message-ID: | Pine.SUN.3.91.980814123429.22301C-100000@dutepp2.et.tudelft.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
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(dot)Boekhold(at)et(dot)tudelft(dot)nl |
-----------------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Koujiro Iuchi | 1998-08-14 12:32:31 | Authenticate Error On MOD_AUTH_PGSQL.C |
| Previous Message | Maarten Boekhold | 1998-08-14 10:34:06 | Re: [ADMIN] FATAL 1: SetUserId: |