- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Replicate Production to DR file system with rsync
- From: james <jam@xxxxxxxxx>
- Date: Mon, 15 Feb 2010 10:20:33 +0800
- User-agent: KMail/1.12.2 (Linux/2.6.31.12-0.1-desktop; KDE/4.3.1; x86_64; ; )
On Monday 15 February 2010 09:00:05 slug-request@xxxxxxxxxxx wrote:
> Has anyone suggested using setuid?
>
> Why don't you write a program to do the backup. Set ownership root, group
> to "backup", chmod 770 and then setuid on the program and you can remote
> login as the "backup" group and execute the program with root privileges
> to do just the things you put in the code. If this isn't acceptable to the
> "security team" then you'd better also disable the password program.
>
> Just a thought.
setuid does not work on modern distros umm pam limits applies
http://www.mythtv.org/docs/mythtv-HOWTO-5.html#ss5.4 (enabling real time
priority)
James