How to let an account behave like root

From: joop schipper <joop.schipper_at_dicgroep.nl>
Date: Tue, 10 Apr 2001 15:42:32 +0200

dear colleagues,

Using tru64-unix version 5.1; bash version 2.04

An operator has to schedule full system backup (using vdump) for irregular
times.
For that I wrote a backup_submit script what is automatically executed after
logging in
using backup as an account ("source backup_submit" within .bash_profile)
The backup script gets the schedule date and time issued by the operator for
which the backup_tape script will run vdumping all file sets to tape. The
schedule date/time is stored in the cron backup schedule file using crontap.

User backup got uid=0 and gid=1 (exactly as root)
I added in /etc/group the backup together with root to the group system.
Using sysman dopconfig i gave backup full superuser rights.
But unfortunately the backup.log file shows lots of permission denied
messages. Including Non-root users cannot backup quota files messages.

So obviously backup does not have the same rights as root.

Question: does anybody know how to let the backup account behave exactly
like root in order to be able to backup all files.

Thank you very much in advance!

DIC Information Consultants
Joop M. Schipper

joop.schipper_at_dicgroep.nl
Received on Tue Apr 10 2001 - 13:43:39 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT