DRYed up the sudoers bit.