- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ignite-root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 10:23 AM
05-12-2004 10:23 AM
I have this problem...
I need to run manually the make_recovery -Avi or make_tape_recovey -x...but I need him to run him an operator that should not have privileges of ROOT
How can create a user that can run make_tape_recovey without priviliges of ROOT, only creating the tape of Ignite.
Also them...if they can lean on with the best´s practices for the creation of Ignites
Thanks everybody.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 10:41 AM
05-12-2004 10:41 AM
Re: ignite-root
You can install sudo and allow the user to run only make_recovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 10:50 AM
05-12-2004 10:50 AM
Re: ignite-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 10:55 AM
05-12-2004 10:55 AM
Re: ignite-root
# cat create_ignite_tape
#!/usr/bin/sh
# Replace the 0mn with your no-rewind tape drive
TAPE=/dev/rmt/0mn
# Rewind tape
mt -f ${TAPE} rew
# Run make_tape_recovery
/opt/ignite/bin/make_tape_recovery -a ${TAPE} -I -v -x inc_entire=vg00
# Eject the tape when done
mt -f ${TAPE} offl
# END OF SCRIP
Now you have a couple of options:
1) Install sudo as said above and set up the user so that he/she can run the create_ignite_tape script. --- I would prefer this method
2) Set the create_ignite_tape script so that it is owned by root and is a SUID script.
# chmod 4555 create_ignite_tape
# ll create_ignite_tape
-r-sr-xr-x root sys .... create_ignite_tape
I wouldn't necessarily recommend this as it could be a security hole (I don't like unnecessary SUID scripts lying around). I am not even 100% sure it will work, but it might.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 11:08 AM
05-12-2004 11:08 AM
Re: ignite-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2004 11:12 AM
05-12-2004 11:12 AM
Solution$ ls -lrt /root/m.sh
-r-sr-xr-x 1 root sys 68 May 12 16:09 /root/m.sh
$
$ more /root/m.sh
#! /usr/bin/sh
/opt/ignite/bin/make_recovery -ACvi -d /dev/rmt/0mn
$
$ /root/m.sh
make_recovery(201): Must have root capability to use make_recovery
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 09:39 AM
05-13-2004 09:39 AM
Re: ignite-root
Where can i find SUDO...is software of hp??
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 10:08 AM
05-13-2004 10:08 AM
Re: ignite-root
See also on the web
http://hpux.cs.utah.edu/
sudo-1.6..7p5 (15 Oct 2003)
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1111
Ciao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 11:41 AM
05-13-2004 11:41 AM
Re: ignite-root
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/
Once installed, add an entry in the /etc/sudoers file
Now the operator can use sudo to create recovery tape.
operator> sudo /opt/ignite/bin/make_recovery -ACvi -d /dev/rmt/0mn
Password:
Operator will be prompted for password. The password to be entered is the OPERATOR's password and NOT the root's password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2004 02:45 PM
05-13-2004 02:45 PM
Re: ignite-root
You may want to rethink your backup strategy. If you're trusting someone to do your system backups but you're not going to give him/her the root password in order to run the backup, it makes me kind of wonder ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2004 02:08 AM
05-14-2004 02:08 AM
Re: ignite-root
whenever to make a restore of a tape made with I Sudo, is the process the same one that when the tape make with root?
Or are any considireations for that ?
Thanks everybody
E.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2004 02:12 AM
05-14-2004 02:12 AM
Re: ignite-root
There should be no difference in the restore process whether the tape was made by an actual root or a "sudo'd" root.
Pete
Pete