Commit 24690301 authored by Martin Pitt's avatar Martin Pitt

debian/README.Debian: Fix commands to get a postgres user shell.

parent 7e9098b6
......@@ -34,11 +34,11 @@ a database user and a database for the Unix user 'joe':
2. Get a shell for the database superuser 'postgres'. If your system
has an active root user, use su:
$ su -c "su -s /bin/sh postgres"
# su -s /bin/bash postgres
If your system uses sudo to get administrative rights, use sudo instead:
joe$ sudo -u postgres sh
joe$ sudo -u postgres bash
3. In this postgres shell, create a database user with the same name as your
Unix login:
......
......@@ -5,6 +5,7 @@ postgresql-common (152) UNRELEASED; urgency=low
lucid/precise.
* Drop support for obsolete oom_adj, all kernels in all supported
Debian/Ubuntu releases support oom_score_adj. (See #646245)
* debian/README.Debian: Fix commands to get a postgres user shell.
[ Christoph Berg ]
* pg_virtualenv: Fix program name in manpage.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment