Edit /etc/sudoers via script

view story

https://bbs.archlinux.org – So long as you get the formatting right, I can't see a problem. The point of visudo is to make sure that the sudoers file is usable before committing the changes, giving you a chance to fix a mistake.Can I suggest using /etc/sudoers.d/ instead of /etc/sudoers though. May make things easier for you. WorMzy https://bbs.archlinux.org/profile.php?id=38091 2012-10-10T11:48:53Z (HowTos)