User & Group Change @ 11/02/2010
New account pwbc_dba has been added for DB system administrative purpose, new group dbadmin is also added so other user login can participate DB administration without knowing pwbc_dba account.
groupadd dbadmin useradd -m -g dbadmin -G root,it,other pwbc_dba passwd pwbc_dba usermod –s /bin/bash pwbc_dba (to use .profile to define env)
The password is the same as current mysql account. All database administrative tasks such as installation, upgrade etc should be done under pwbc_dba.
15/03/2010 pwbc_dba has been replaced by user mysql that is required by MySQL installation.
System $PATH Change @ 11/03/2010
New export has been added into /etc/profile so gtar and make are available system-wide.
LD_LIBRARY_PATH is added to address MySQL compilation error due to libstdc++.so.6 not found.
export PATH="$PATH:/opt/csw/bin:/usr/ccs/bin" export LD_LIBRARY_PATH="/usr/local/lib:/usr/sfw/lib"
Change comment has been added on the source file. Future $PATH change will be recorded by comment and will not be added in here.
Change root SHELL to BASH
Justification: Did you know: root shell in Solaris 10
cat /etc/passwd root:x:0:0:Super-User:/:/usr/bin/bash daemon:x:1:1::/: bin:x:2:2::/usr/bin: sys:x:3:3::/: derlin:x:103:101:Derrick Lin PTest Zone:/home/derlin:/bin/bash mysql:x:105:103:MySQL user PTest Zone:/home/mysql:/bin/bash
No comments:
Post a Comment