Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a user account that I have given sudo privileges on my computer. I use this account for everyday use and system maintenance.

I know it isn't a good idea to give sudo permissions to an everyday account. Is there some way to get admin privileges temporarily when I want to do system maintenance, or should I really be using two user accounts?

share|improve this question
    
I never heard of anyone saying that "it isn't a good idea to give sudo permissions to an everyday account" - while I can see your point, I think the security benefits are negligible... In fact, Ubuntu by default creates a single account during install which indeed has sudo privileges. –  Sergey Apr 19 '12 at 0:58

1 Answer 1

up vote 0 down vote accepted

I believe it is possible to change your sudo password so it is different from your login, but I don't know how much it will help. Maybe a better option would be to limit the types of commands you can use sudo with. I know that is possible, look into the sudoers file for a listing of what users can use sudo with which commands

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.