will revoke the users timestamp and require a password on the next sudoCode:sudo -k
will revoke the users timestamp and require a password on the next sudoCode:sudo -k
sudo su
Type all your commands
exit
Back into normal shell
This whole thread could be forgotten if you just give your self root. Use it if you want...
If you want to never have to type in a password for sudo more than once, just tell it never time out and keep the terminal window open. Ubuntu rulz. Also, DOWN WITH DA PATRIOT ACT!
Another nercothread brought back from the dead. You can accomplish the same thing using:
Without having to modifying /etc/sudoers.Code:sudo -i
To @chaoman, you could have found something a little better for your first post.
Jim
Bookmarks