Changes between Version 17 and Version 18 of UsersWikiPostGIS20Ubuntu1204
- Timestamp:
- May 6, 2012, 12:43:08 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiPostGIS20Ubuntu1204
v17 v18 180 180 If you're going to want to connect to the PostgreSQL database using your own account (so you don't have to fool around with 'postgres'), you may want to do this: 181 181 {{{ 182 user$ sudo -s -u postgres183 postgres$ createuser --superuser $ user---- note: createuser is a command line tool to create a PostgreSQL user, not a system account184 postgres$ createdb $ user182 $USER$ sudo -s -u postgres 183 postgres$ createuser --superuser $USER ---- note: createuser is a command line tool to create a PostgreSQL user, not a system account 184 postgres$ createdb $USER 185 185 postgres$ psql 186 186 psql (9.1.3) 187 187 Type "help" for help. 188 188 189 postgres=# \password $ user189 postgres=# \password $USER 190 190 Enter new password: 191 191 Enter it again: 192 192 postgres=# \q 193 193 postgres$ exit 194 user$ psql194 $USER$ psql 195 195 psql (9.1.3) 196 196 Type "help" for help. 197 197 198 $ user=#198 $USER=# ---- voila! 199 199 }}} 200 200