Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to I get linux to stop prompting me for a password and remember it? For instance, when using the root user, I always get prompted, but I would rather only be prompted once per user session.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

In terms of the console (bash) there is no way to do that. You could put yourself in the "wheel group" and you would only have to type sudo xyz instead of su [Enter] xyz and it won't bug you every time. In terms of the GUI (I see you tagged Ubuntu) certain tasks (those found in the System -> Administration menu in GNOME) will remember the root credentials for a set time or until you log out, automatically.

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.