su
gedit /etc/user_attr
Remove first element , final resule seems:
root::::type=normal;....
reboot system
Sunday, January 25, 2009
Install PostgreSQL on OpenSolarsis
Use Package Manager , check all SUNWpost**-8.3**
Install pgAdmin3
----
Open Terminal 1
su
Setup password for postgres account:
Open another terminal 2,
back to terminal 1, type:
Install pgAdmin3
----
Open Terminal 1
su
Setup password for postgres account:
passwd postgresIf u get some error e.x : su: No shell, u should config shell apply for postgres user
usermod -P "Postgres Administration" -R postgres bearsoft
su - postgres
Open another terminal 2,
suu change shell apply for root, bearsoft (current user), and postgres account into /bin/bash
gedit /etc/passwd
back to terminal 1, type:
pfexec /usr/postgres/8.3/bin/initdb /var/postgres/8.3/datadone.
Start server
/usr/postgres/8.3/bin/pg_ctl -D /var/postgres/8.3/data -l var/postgres/8.3/logfile start
Subscribe to:
Posts (Atom)