Perl Nopaste Service

Download: Here New: Here

Nopaste from: Wed Feb 20 17:42:54 2019

Expires on: never

From: Anonymous (91.58.157.241)

Code language: Plain

Description: The user has not left a description.

Code:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
su - postgres
postgres@ubu1804:~$ psql template1
psql (10.6 (Ubuntu 10.6-0ubuntu0.18.04.1))
Type "help" for help.

template1=# CREATE EXTENSION IF NOT EXISTS plpgsql;
NOTICE:  extension "plpgsql" already exists, skipping
CREATE EXTENSION
template1=# \q
postgres@ubu1804:~$ su - postgres
Password: 
su: Authentication failure
postgres@ubu1804:~$ ^C
postgres@ubu1804:~$ logout
root@ubu1804:/var/www/kivitendo-erp# su - postgres
postgres@ubu1804:~$ psql
psql (10.6 (Ubuntu 10.6-0ubuntu0.18.04.1))
Type "help" for help.

postgres=# \password postgres
Enter new password: 
Enter it again: 
postgres=# \q