コマンドを実行しようとすると、このマニュアルに従って、Amazon AWS の Ubuntu 13 で Postgresql 9.1 および PostGIS 2 を構成します。
/etc/postgresql/9.1/main/pg_hba.conf
次のエラーが表示されます
/etc/postgresql/9.1/main/pg_hba.conf: Permission denied
私は試した
sudo /etc/postgresql/9.1/main/pg_hba.conf
そして得た:
postgres is not in the sudoers file. This incident will be reported.
だから私はユーザーを作成し、それをsudoグループに追加して再試行しましたが、sudo
許可が拒否されることなく、私は得ました:
sudo: /etc/postgresql/9.1/main/pg_hba.conf: command not found
しかし、試してみるとls -a /etc/postgresql/9.1/main
pg_hba.confが表示されます。
助言がありますか?