Metasploit mailing list archives

Re: Using sudo as root


From: Tod Beardsley <todb () metasploit com>
Date: Sun, 29 Jan 2012 11:00:17 -0600

I'm not entirely sure what the difference is that Danux escreveu is
describing -- two different msfconsole's maybe? But regardless:

 When starting nmap from the msfconsole with sudo,

To retain your environment, and if BT5 has rvm, you can either

rvmsudo msfconsole

or if not:

sudo -s -E msfconsole

and the -E should keep your old env settings.

-todb
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: