Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

create account for Backup Exec administrator?

Posted on 2011-03-03
2
555 Views
Last Modified: 2012-05-11
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
Comment
Question by:Omega002
2 Comments
 
LVL 12

Expert Comment

by:S00007359
ID: 35152595
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
 
LVL 2

Accepted Solution

by:
Cha1tu earned 500 total points
ID: 35181470
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question