Persistent sudo

Sometimes, you have a number of tasks to complete as an administrator and having to put sudo in front of every command just becomes annoying. Luckily, you can change into persistent sudo mode.

sudo -i

This will then prompt you for your password and once successfully entered, you will be transfered to the root user.

It is much like doing su, except that you are prompted for your own password, rather than the root account’s password.

Timeline

Newsletter

Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.

Metadata

Tags: , , , , ,

This entry was posted on Tuesday, March 27th, 2012 at 11:32 am and is filed under Life, Tech. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.