sudo ./scriptname
sudo bash will basically switch you over to running a shell as root, although it's probably best to stay as su as little as possible.
sudo ./scriptname
sudo ./scriptname
sudo bash will basically switch you over to running a shell as root, although it's probably best to stay as su as little as possible.
sudo ./scriptname
sudo bash will basically switch you over to running a shell as root, although it's probably best to stay as su as little as possible.
In order for sudo to work the way everyone suggest, you need to be in the admin
group.
sudo ./scriptname
Or you can access root terminal by typing sudo -s
sudo ./scriptname
sudo bash will basically switch you over to running a shell as root, although it's probably best to stay as su as little as possible.
In order for sudo to work the way everyone suggest, you need to be in the admin
group.
Or you can access root terminal by typing sudo -s
Source: Stackoverflow.com