running shell scripts that require root priv. in ubuntu
I know that there is no root user defined in ubuntu, so you have to prefix your commands with sudo. But what if I want to run a shell script which executes commands that require root privledges?
For example, I am trying to run a configure script:
But it cannot do what it needs to do:
mkdir: cannot create directory `/lib/modules/0.0.0': Permission denied