[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
RE: POSTGres
> /etc/passwd and check the password string alongside the user
> 'postgres' (In
> my case it was '!!'). Return to shell, and do a passwd
> postgres and set the
> password to anything, say 'abc'. Now login as postgres and do a
...
> databases, and to add new users. Log in again as root, edit
> the /etc/passwd
> file and remove the password hash string (for 'abc') with !!
when you are root, just use:
su - postgres
to become user postgres without having to modify the file /etc/passwd.
you do not need to have a valid user password for that.
hope this helps
pascal
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.
------------------------------