thanks so much guys. ill have a play with it tonight . i want to try a few things with scripts. how do i run scripts as root though?
user ALL = NOPASSWD: ALL
sudo whoami