create account for Backup Exec administrator?

Greetings,

We have backupexec administrators that currently use root account and we can to migrate them off that account and create an account thats more appropiate. Does anyone have a script that creates such an account on RHEL 4/Linux OS?
Omega002Asked:
Who is Participating?
 
Cha1tuCommented:
1. run the cold_bkpscript.sh
#!/usr/bin/ksh
sqlplus '/as sysdba' <<EOF
set pages 0
set feed off
set pagesize 200
set echo off
spool /home/app/oracle/copy_files.sh
select 'cp '||file_name||' /home/app/oracle/COLD_BKP/' from dba_data_files;
select 'cp '||member||' /home/app/oracle/COLD_BKP/' from v\$logfile;
select 'cp '||name||' /home/app/oracle/COLD_BKP/' from v\$controlfile;
select 'cp '||file_name||' /home/app/oracle/COLD_BKP/' from dba_temp_files;
create pfile='/home/app/oracle/COLD_BKP/initTEST.ora' from spfile;
spool off
shutdown immediate
EOF
chmod 744 /home/app/oracle/copy_files.sh
/home/app/oracle/copy_files.sh

0
 
S00007359Cloud Engineering OfficerCommented:
you will have to create it manually. i use root accounts to backup, as root as the highest level of access. maybe you can create an account such as rootbackupexec and give same permissions as root!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.