can not edit in pg_ident.conf
Hi,
how to make pg_ident.conf easy accessible and edit on it.
any suggestion ?!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
how to make pg_ident.conf easy accessible and edit on it.
any suggestion ?!
You cannot edit this file because this file belongs to user postgres, you didn't have privilege to edit this file.This can be verified by using
ls -l /etc/postgresql/9.1/main/pg_ident.conf
You can edit this file in two ways.
1.Change to user postgres
sudo su - postgres
Then edit the file by
vim /etc/postgresql/9.1/main/pg_ident.conf
2.Use root privilege to edit the file
sudo vim /etc/postgresql/9.1/main/pg_ident.conf
If you didn't have vim installed yet, use
sudo apt-get install vim
Once you enter vim editor, press "i" to become INSERT mode, and you can edit the file. When you finished editing, type ":wq" to save the file and leave vim editor.
When you type sudo su - postgres
to become user postgres, the password you need is your original user's.
Asked: 2012-12-16 06:37:14 -0500
Seen: 240 times
Last updated: Dec 17 '12
rosluanch turtlebot_bring minimal.launch
Error something to do with "libpcl_ros_tf.so" after migrating to Fuerte
building from source ros-hydro, Fatal Error : QWidget [closed]
groovy kinect No Image received
Install ROS groovy on Ubuntu ARM
ROS can't access iRobot Create
Migrating fuerte on Ubuntu 12.04 LTS
Several died after update ros-fuerte-navigation version 1.8.3