[sudo-users] mysqldump without sh -c ?

Todd C. Miller Todd.Miller at courtesan.com
Wed Aug 12 08:43:03 EDT 2009

If the only reason you are using sudo for this is to write to
/parh/backup_db/backup.sql, why not just make the file (or directory)
writable by a group that the support people are in?  Then you
wouldn't need to use sudo at all...

 - todd

More information about the sudo-users mailing list