Awww yeah... If we can't remember your postgres db password, we can reset it.
Ubuntu
First we have to switch to postgres user
su - postgres
now we can execute the psql command
psql -d dbname -U postgres; (this allows you to get it o the db)
alter user postgres with password 'newpassword'; (now you can modify the password)
No comments:
Post a Comment