
Installgen
Features and Benefits
Installgen
Demo Available for download...

#!/bin/sh
# script: 1_sol_901_prepinstall_1.sh
# Features: This shell script creates the UNIX account and group which will
# install and own the Oracle database software on the server.
# One or more UNIX accounts are also created for admin use
# during the Oracle installation.
# It is run manually via a remote terminal session.
#
# Script Sequence#: 1
# Used By: run manually as root
# Copyright 2002 by .com Solutions Inc.
#
# ---------------------- Revision History ---------------
# Date By Changes
# 9-24-2001 dsimpson Initial Release
# 9-30-2001 dsimpson Added use of environment variables for paths
# 11-02-2002 dsimpson UNIX account is now setup with the
# final password instead of a temporary password.
# This output file was created by Installgen version 1.38 on Sun Nov 10 14:51:56 2002. By .com Solutions Inc. www.dotcomsolutionsinc.net
#ORACLE_OWNER=oracle
ORACLE_OWNER_PATH=/export/oracle
ORACLE_GROUP=dba
#ORACLE_HOME=/u01/v901
#ORACLE_SID=prod1
# create the UNIX group, automatically assigns next highest group id number
/usr/sbin/groupadd dba
# create the UNIX account
/usr/sbin/useradd -c "owner of Oracle database sw" -d "$ORACLE_OWNER_PATH" -g dba -m oracle
/usr/bin/rm $ORACLE_OWNER_PATH/local.cshrc
/usr/bin/rm $ORACLE_OWNER_PATH/local.login
/usr/bin/rm $ORACLE_OWNER_PATH/local.profile
/usr/bin/rm $ORACLE_OWNER_PATH/.profile
# assign password during install process
echo "Enter oracle UNIX account password: oracle"
/usr/bin/passwd oracle<ab_12#
ab_12#
!EOF

