How does sudo remember you already entered root's password?

Let’s learn how does sudo remember you already entered root's password. The most accurate or helpful solution is served by Unix and Linux.

There are ten answers to this question.

Best solution

How does sudo remember you already entered root's password?

When using sudo on Linux, it asks for root password, but only the first time you run it. If you run another sudo command, it remember you already entered the password previously and doesn't ask for it: thomas@ubuntu:~$ sudo id [sudo] password for thomas: ****** uid=0(root) gid=0(root) groups=0(root) thomas@ubuntu:~$ sudo id uid=0(root) gid=0(root) groups=0(root) How does sudo do it? Where is this information stored? My idea is that it remembers the terminal id (like pts/1), but where is this stored...

Answer:

Where is this information stored? It's probably under /var/db/sudo or /var/run/sudo and you'll probably...

Read more

kuba at Unix and Linux Mark as irrelevant Undo

Other solutions

I forgot my Yahoo! Email password, I cannot remember my security questions and had entered wrong birth date.?

Dear reader of Yahoo! Answers. I have an account in Yahoo! and I cannot remember my password and even security questions, at that time I had entered wrong birth date, zip code, location, pretend everything. Now I need that account. How can I retrieve...

Answer:

If you have forgotten your yahoo password and you cannot provide the same information you gave during...

Read more

sascoder at Yahoo! Answers Mark as irrelevant Undo

My yahoo id is hacked.someone changed the password.to get new password i dont remember the pincode i entered ?

i have created id a long back ago so i don't remember the pin code i entered at that time ...............so how to get my my id ...?

Answer:

if you cannot provide even just one answer to the security question being asked in order to get a new...

Read more

uppala c at Yahoo! Answers Mark as irrelevant Undo

My Yahoo password has been changed and I can't remember the date of birth I entered?

I am writing this on behalf of my friend as Yahoo wont let him retrieve his password without his date of birth and now he can't access his account and all his important data, he had an alternate email when he created it, but there is no option of it...

Answer:

Oh dear, Your friend may have to open a different account the birthday you enter has to be true along...

Read more

S.T at Yahoo! Answers Mark as irrelevant Undo

Peculiar password problem

The OS X GUI—but only the GUI—has stopped accepting my password. Any password. I have a late-2009 iMac running OS X 10.9.2. The other night, I tried to install something that asked for my administrator password. When I entered it, the dialog box did...

Answer:

Watch your language!. I mean did you at one point accidentally change the language setting of the keyboard...

Read more

Zozo at Ask.Metafilter.Com Mark as irrelevant Undo

Windows 7 password fail

My Windows 7 password is not working, so naturally, I'm locked out of my computer/life. If my computer worked, I would continue googling for an answer. Unfortunately, this vintage Dell desktop I'm using is trying my patience. Details: Acer netbook, windows...

Answer:

Trinity Rescue Kit is a far smaller download than an Ubuntu live CD.

Read more

she's not there at Ask.Metafilter.Com Mark as irrelevant Undo

How do i get messenger to remember my CORRECT password?

When i started using Messenger the other day i had to have Yahoo! give me a new password for this id. I logged in with that password and had "remember my password" checked. I since changed my password at Yahoo! for this id. I'm trying to get...

Answer:

Try this There is something you could do! Go to tools, options' passwords then find the one for yahoo...

Read more

elfingto... at Yahoo! Answers Mark as irrelevant Undo

Attempting to create a Java password program?

Java program that asks for user input of a password that must be between 6 and 10 characters and must contain at least one digit and one letter. So far I am having problems remember how to check if a digit or char is present and struggling with my while...

Answer:

first of all change while(verifyPassword.equals(password)) { System.out.println("Your passwords...

Read more

Lucas at Yahoo! Answers Mark as irrelevant Undo

How do I make Linux accept the "root" password instead using sudo with user's password?

Is is it possible to make linux (Ubuntu) accept a root password for sudo, that is actually different from using the user's account password? In the case of user being administrator? Or should create a separate account, and only use the admin to use sudo...

Answer:

Open a Terminal and type in sudo passwd root enter a new password and then you can totally use the root...

Read more

Cincinnati Cypher at Yahoo! Answers Mark as irrelevant Undo

What is the best way to provide sudo password to a remote machine from a script?

I am writing a script that basically does "ssh -t name@machine 'sudo reboot'". this script sshs into a bunch of machines and reboots them. is there a way i could pass the sudo password of the machines in the ssh command so that I don't have...

Answer:

First of all, as Tristan has said, the most secure way of setting this up is to use a passwordless sudo...

Read more

Marc Pujol at Quora Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.