#!/bin/ksh # Example of Creating Standard Groups, Users, and Paths # From Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Oracle Solaris E24616-01 groupadd -g 1000 oinstall groupadd -g 1020 asmadmin groupadd -g 1021 asmdba groupadd -g 1031 dba useradd -m -d /export/home/grid -s /bin/bash -u 1100 -g oinstall -G dba,asmadmin grid passwd grid useradd -m -d /export/home/oracle/ -s /bin/bash -u 1101 -g oinstall -G dba,asmdba oracle passwd oracle mkdir -p /u01/app/11.2.0/grid mkdir -p /u01/app/grid chown -R grid:oinstall /u01 mkdir /u01/app/oracle chown oracle:oinstall /u01/app/oracle chmod -R 775 /u01/ mkdir /opt/oracle mkdir /opt/oraInventory chown oracle:oinstall /opt/oracle chown oracle:oinstall /opt/oraInventory chmod 755 /opt/oracle chmod 755 /opt/oraInventory
Script to create Standard Groups, Users, and Paths on Solaris 10
Labels:
Installation,
Solaris,
System Administration