Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Replicate Production to DR file system with rsync


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