Hi Joe_H
I searched around further and saw in one thread where it said that sudoers is a read only file and sure enough it is. This I think is the reason it didn't work. I changed (as root) the file properties with:
chmod 660 sudoers ....
It appears root can write to read only files:
tc@E310:~$ sudo su
root@E310:/home/tc# ls -l /etc/sudoers
-r--r----- 1 root root 316 Mar 18 10:17 /etc/sudoers
root@E310:/home/tc# echo -e "Rich\tALL=NOPASSWD: ALL" >> /etc/sudoers
root@E310:/home/tc# cat /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
tc ALL=NOPASSWD: ALL
Rich ALL=NOPASSWD: ALL
root@E310:/home/tc# ls -l /etc/sudoers
-r--r----- 1 root root 316 Mar 18 10:17 /etc/sudoers
root@E310:/home/tc#
Since tc-config runs as root, it should have added the user to the sudoers file. If you had /etc/sudoers included in your backup, it
won't work because the file will get overwritten with the backed up version later on in the tc-config script.