From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,3cc2090d251dac10 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,3cc2090d251dac10 X-Google-Attributes: gidfee84,public From: Matthew Tovey Subject: Re: Using login other than root to backup/restore Date: 1996/11/29 Message-ID: <329F064B.ABD@mail.cern.ch>#1/1 X-Deja-AN: 201417362 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: axpdp1.cern.ch references: <01bbdcf9$5d7a8aa0$99d3bb8b@pc-blg.nsc.com> to: Benjie Gandionco content-type: text/plain; charset=us-ascii organization: CERN mime-version: 1.0 newsgroups: comp.unix.admin,comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha) Benjie Gandionco wrote: > > How can I use a login other than root to backup and restore? If I don't > use root, some files are inaccessible and always gives out an error. I > don't want to give the root account to the guys in charge of backup for > security purposes. You could, depending on your backup software, make the software setuid root. Then make it group but not world executable. Put the guys who do the backups into an appropriate group, and make the backup software the same group. If necessary, create a new group for this. Now your backup guys can run the backup software as root, but normal users can't. Alternatively, use 'sudo' to allow only specific people to run the software. Cheers, Matt -- Matt Tovey http://wwwcn.cern.ch/~mtovey Why is "abbreviation" such a long word?