![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mksysb backup | rrlog | AIX | 1 | 09-06-2007 12:12 PM |
| mksysb backup testing | TheEngineer | AIX | 6 | 04-17-2007 03:53 AM |
| mksysb backup | granador | AIX | 1 | 02-23-2007 04:05 PM |
| AIX v.5.1 - system and user data backup | Sezgin | AIX | 5 | 01-08-2007 02:29 AM |
| AIX + backup or mksysb (yes i did a search) | Optimus_P | UNIX for Dummies Questions & Answers | 5 | 08-08-2001 03:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
How can I authorize a non-root user to do a system backup with 'mksysb'?
I use AIX 5.2 I want to allow a non-root user to do a system backup with 'mksysb' command.
I try to add 'ManageBackup' Role to that non-root user but it have an error "ksh: mksysb: 0403-006 Execute permission denied." What should I do? |
| Forum Sponsor | ||
|
|
|
|||
|
Have you considered using "sudo"? With this package installed you can specify certain commands to be run by a (group of) user(s) as root. You can even limit this to the prescribed usage of certain parameters (for instance, a user might be allowed to do a "ls -l" as root, but not a "ls -a", etc.).
It looks like you could tailor this to exactly your needs. I hope this helps. bakunin |
|
|||
|
Sorry, but "mksysb" is a shellscript. See the output of "file /usr/bin/mksysb".
Anyways, i suppose we agree upon "sudo" being by far the preferable solution. bakunin |
|
|||
|
Quote:
How can I know, is it "sudo" installed in the system or not ? because I not sure was installed or not from where install "sudo" ? and how can I use "sudo" ? I do not have knowledge about "sudo" . thank you very much |
|
|||
|
Quote:
Quote:
Install and configure sudo in AIX - ITtoolboxWiki Regards |
|
|||
|
You can get a pre-compiled version of sudo for AIX at
IBM AIX Toolbox Download Page - Alphabetical Listing You install with "rpm -i sudo*rpm" (If you don't have rpm.rte installed on your OS you will need that first to install the sudo rpm.) Now my memory is a little fuzzy but the following should work: Enter "visudo" and add the line: username hostname=/usr/bin/mksysb :wq to write and quit visudo Now the user would enter the command "sudo mksysb" and it will prompt for the users password and log what has happened in the syslog. Last edited by prichard; 05-01-2008 at 01:58 PM. Reason: Added more detail, corrected some spelling. |
| Tags |
| linux |
| Thread Tools | |
| Display Modes | |
|
|
|
The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
|
| "inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m ascii eof autosys awk trim bash eval bash exec bash for loop bash subroutine boot: cannot open kernel/sparcv9/unix close_wait curses.h dead.letter find grep grep multiple lines grep or grep recursive grep unique inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment make: fatal error: command failed for target `all-recursive' mget mtime perl array length ping port read awk output into multiple variables replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix for loop unix forum unix forums unix interview questions unix memory usage unix mtime unix simulator unix.com while loop within while loop shell script |