Suppose, I have just entered the Metasploitable 2 Linux like the following command:
username : msfadmin
password : msfadmin
Now, I need to gain 'root' privilege so that I do not need to use 'sudo' - command again and again. For example, in order to shutdown the machine I just want to type:
shutdown -h 1
not,
sudo shutdown -h 1
How to do that?
Asked by user109285
Apr 7, 2015, 01:35 PM
Last activity: Oct 4, 2021, 08:37 AM
Last activity: Oct 4, 2021, 08:37 AM