first commit

This commit is contained in:
ansimstefl
2025-05-29 21:55:04 +02:00
parent 3884a9f9e9
commit a4c2dca44e
70 changed files with 3373 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
postgres@ctcloud:/var/www/html$ psql
psql (13.11 (Debian 13.11-0+deb11u1))
Type "help" for help.
postgres=# create database owncloud;
CREATE DATABASE
postgres=# create user owncloud with encrypted password 'Datel123456';
CREATE ROLE
postgres=# grant all privileges on database owncloud to owncloud;
GRANT
postgres=# CREATE USER zbx_monitor WITH PASSWORD 'datel1234' INHERIT;
CREATE ROLE
postgres=# ^[[200~GRANT pg_monitor TO zbx_monitor;~
ERROR: syntax error at or near "
INE 1: GRANT pg_monitor TO zbx_monitor;
^
postgres-# GRANT pg_monitor TO zbx_monitor;
ERROR: syntax error at or near "~"
LINE 1: ~
^
postgres=# GRANT pg_monitor TO zbx_monitor;
GRANT ROLE
postgres=#