postgresql メモ
# aptitude install postgresql # finger postgres # passwd postgres // パスワードを指定 # psql -l -U postgres // 通らない・・・ $ su postgres $ psql -l List of databases Name | Owner | Encoding -----------+----------+---------- postgres | postgres | UTF8 template0 | postgres | UTF8 template1 | postgres | UTF8 (3 rows) $ createdb testdb $ psql testdb testdb=# create role hato with login; testdb=# \q $ su - hato $ psql testdb testdb=# \q