How to make sudo remember my password and how to add an application to startup

Posted by Bragboy on Ask Ubuntu See other posts from Ask Ubuntu or by Bragboy
Published on 2011-01-13T11:32:33Z Indexed on 2011/01/13 11:58 UTC
Read the original article Hit count: 401

Filed under:
|
|
|

I guess this should be a simple thing for ubuntu users out there. I have two questions.

  1. Whenever I need to run some command that requires permission from root, I run as sudo followed by that command. It would be nice if that does not prompt for password (but I should still be issuing a sudo to make sure that I know what I am doing). How to do this?

  2. Every time I start my system, I go to terminal and start my VPN using sudo vpnc. This is almost everytime! How to automate this to a startup script?

Help much appreciated! Thanks

© Ask Ubuntu or respective owner

Related posts about ubuntu-desktop

Related posts about startup