Originally Posted by smintz
I am having difficulties with understaanding sudo and setuid.
Is it possible to get the steps involved for setting these up and then running them?
Well first of all, you have to boot into Linux
(I can see you're using Windows 7).
For setuid: I am thinking you might be mixing this up with su. Try this to become root (that's su and a hyphen):
and enter your password.
Next, sudo is another way to gain elevated priveledges without actually becoming the root user. If your user/group is allowed to use sudo (you can just try it or check the /etc/sudoers file) then you can run most commands like this:
For instance, if you are in Ubuntu (please put what distro you are using in your signature) and want to run a sytem update:
sudo apt-get update
sudo apt-get upgrade
For Ubuntu you would rarely ever need to actually su - to the root user account. However, if you needed to, you would have to first set the root password:
and then you could su - to the root account and use it.