Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .