Adding a User to Sudoers in Fedora 11

The following shows how to add a user to the "sudoers" file in Fedora 11 (and likely other versions of Fedora), allowing normal users to execute elevated commands with sudo ... instead of needing to switch to root (su -).

[greg@fedora ~]$ su -
[root@fedora ~]# chmod +w /etc/sudoers
[root@fedora ~]# echo 'greg ALL=(ALL) ALL' >> /etc/sudoers
[root@fedora ~]# chmod -w /etc/sudoers
[root@fedora ~]# exit