Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 563
  • Last Modified:

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?
0
Omega002
Asked:
Omega002
1 Solution
 
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
 
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
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.

Join & Write a Comment

Featured Post

Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now