this is the backup script. When i run it as a non root or authority user i get the following errors for each filesystem being backedup. It then continues to the next fs. Do i have this set up correctly? am i missing something?
backup: The backup command has ended abnormally.
backup: 0511-225 Cannot open /dev/rmt0.1.
Operation not permitted.
Script Perms:
-r-sr-sr-x 1 root system 850 Aug 09 17:11 /var/adm/scripts/backup.ksh
Backup command perms (just incase needed):
-r-xr-xr-x 1 root system 4320 Dec 24 1998 /usr/sbin/backup
Last edited by Optimus_P; 08-10-2001 at 07:58 PM..
Hi,
I just want to know if it's possible to set the UID bit for a script, so that it executes not as a owner of process, but owner of the script.
i.e
script tesh.sh owned by 'user1', 'file1' owned by user1 has 700 permisssions
`who am i`
rm -v /tmp/file1
user 2 need to execute test.sh, ... (2 Replies)
Hi All!
I'm rather new in AIX so I want some comments about backup scheme I've developed to backup every part of the system. I have the following hardware:
- Power6 570 server with two VIO server and 3 LPARs
- NIM server outside (on the other Power server)
- Windows 2003 Server with Tivoli... (2 Replies)
Hi all.
There are some SPARC mashines. What method can be made from them backup (slices or entire disk) in field conditions if I have only the laptop with win xp pro and the internet? (5 Replies)
Hi,
I need to get the value of 'uid' from a line in file f1. For example, in the line below, I need to get the value '150', from the 'anonuid=150' key, and I need to verify that this is a valid uid by checking it against /etc/passwd (i.e) I want to compare this uid, 150 (or more if there are any... (2 Replies)
i need a script to process a password file and based on the UIDs in the password file, generate the new UID that is 1 greater than the highest uid.
i have some script logic but i dont really understand it. any help?
#!/usr/bin/perl
##########################################
#... (3 Replies)
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Hi, I want to write a script to check whether an user ID is used in my server and then create that user.
If the user ID is not used, I will echo something like "OK, continue" and then continue to execute the script. Else, I will echo something like "Used, exit" and then exit the script.
As... (4 Replies)
Hello,
I am trying to get UID # greater than 1000 from all linux server, I tried this script getting this error message, someone please suggest.
$for i in `cat hostlist.0709.org` ; do ssh -t $i 'awk -F':' "{ if($3 >= 1000) print $0 }" /etc/passwd ' >> output ; done
$ cat output
hostname1... (4 Replies)
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
LEARN ABOUT XFREE86
backup_deldump
BACKUP_DELDUMP(8) AFS Command Reference BACKUP_DELDUMP(8)NAME
backup_deldump - Deletes a dump level from the Backup Database
SYNOPSIS
backup deldump -dump <dump level name> [-localauth]
[-cell <cell name>] [-help]
backup deld -d <dump level name> [-l]
[-c <cell name>] [-h]
DESCRIPTION
The backup deldump command deletes the indicated dump level and all of its child dump levels from the dump hierarchy in the Backup
Database. Use the backup listdumps command to display the dump hierarchy.
OPTIONS-dump <dump level name>
Specifies the complete pathname of the dump level to delete.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The backup command interpreter presents it to
the Backup Server, Volume Server and VL Server during mutual authentication. Do not combine this flag with the -cell argument. For more
details, see backup(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see backup(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command deletes the dump level "/sunday1/monday1" from the dump hierarchy, along with any of its child dump levels.
% backup deldump /sunday1/monday1
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on every machine where the Backup Server is running, or must be logged
onto a server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSObackup(8), backup_adddump(8), backup_listdumps(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BACKUP_DELDUMP(8)