[SOLVED] Sudo does not accept user password

Hello , again !
usually i run root commands with sudo , and i enter my current user password and everything works !
Today , i updated my Arch linux with :
pacman -Syu
and my arch upgraded to 3.4.2-2. 
but when i want to run a command with sudo , i cannot use my current user password ?
thankyou
Last edited by arashroshan (2012-06-19 11:10:52)

thank you for reply but i have read sudo wiki and also sudo was working before updating .
by the way su is still working .
here is my sudoer file :
## sudoers file.
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
## See the sudoers man page for the details on how to write a sudoers file.
## Host alias specification
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias    WEBSERVERS = www1, www2, www3
## User alias specification
## Groups of users.  These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias    ADMINS = millert, dowdy, mikef
## Cmnd alias specification
## Groups of commands.  Often used to group related commands together.
# Cmnd_Alias    PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
#                           /usr/bin/pkill, /usr/bin/top
## Defaults specification
## You may wish to keep some of the following environment variables
## when running commands via sudo.
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"                                                                                                                               
## Run X applications through sudo; HOME is used to find the                                                                                                                                   
## .Xauthority file.  Note that other programs use HOME to find                                                                                                                                 
## configuration files and this may lead to privilege escalation!                                                                                                                               
# Defaults env_keep += "HOME"                                                                                                                                                                   
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
## Uncomment to enable special input methods.  Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot.  Use sudoreplay to play back logged sessions.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!/sbin/reboot !log_output
## Runas alias specification
## User privilege specification
root ALL=(ALL) ALL
## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
#arashr ALL=(ALL) All
## Uncomment to allow members of group sudo to execute any command
# %sudo ALL=(ALL) ALL
## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw  # Ask for the password of the target user
# ALL ALL=(ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'
## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
Last edited by arashroshan (2012-06-17 10:02:55)

Similar Messages

  • Changed my AppleID and password - now can't log-in to iCloud with my deleted account.  It does not accept my passwords - old or new.  I cannot delete my old iCloud on phone

    iPhone 5S on iOS7 -
    I changed my AppleID and password online. 
    My iPhone keeps prompting me to log-in to iCloud with my deleted account.  It does not accept my passwords - old or new.  I cannot delete my old iCloud account because it requires that I enter

    Hi suefrombenton,
    Please see this previous discussion on how to change an Apple ID on an iOS device -
    How do I change my Apple ID on my iPad? | Apple Support Communities
    https://discussions.apple.com/thread/4431720
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • ITunes store does not accept my Password anymore.

    ITunes store does not accept my Password anymore.

    I'm still having the same problem ... 6 months after your original post!  I've just had to reset my pw 2 days in a row, and I've been through so many resets over the past 6 months that I'm running out of ideas for passwords that I'll have a reasonable chance of remembering.  But I also always make a careful note of my important passwords, and after the 1st "password error" message, I check my list and enter the password very slowly and carefully.  So, I think I'm pretty safe in claiming that neither entering the wrong password nor making a typo is the problem!
    Oddly, though, I could usually cancel the password-reset process, then go right to the the iTunes Store, where my password would work fine, allowing me to open and view all my account details.
    Several months ago, I spent about 45 minutes on the phone with Tech Support trying to get this fixed. He was great and we thought he'd found the problem with my account.  (When I originally set up my iTunes account 6 years ago, I used a different email address than I used when I set up my new Mac last year, and that seemed to be causing some sort of conflict within my account.  Hard to imagine someone might change email addresses sometime over a 6-year period, right?  But apparently, the software designers didn't cover that possibility with one of their recent updates of the master system for customers' accounts -- that's the Tech Rep's surmise, not mine.)
    Everything seemed to work fine for a few weeks, but then the problem started occurring again ... over and over and over ...

  • My iPod touch 5gen sees the wifi but does not accept the password

    My iPod touch does not accept the password for my home wifi but can connect to other wifi like Best Buy's.

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • After hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    after hibernation, when trying to login to MacBook Air, it does not accept my password. I have to shut off and then get prompted with the following: Mac OS X wants to use the "login" keychain. I put in the password there and it works. any suggestions?

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • Updated IOS 7 and now it does not accept my password. I'm locked out

    Level 1 (0 points)
    vlmorgan 
    Sep 22, 2013 5:05 PM 
    Updated IOS 7 and now it does not accept my password. I'm locked out.
    iPad, iOS 7 
    I have this question too (1) 

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • USB Mac drive FileVault encrypted - does not accepted the Password

    Hello,
    I've got the following problem:
    I bought an external USB hard disk (Seagate GoFlex 320GB) and configured it on my iMac (3.4GHZ, 16 GB Ram) with  Mac OS Extended (Journaled, encrypted), formatted it & did a partition layout.
    This hard disk worked without any problems on iMac, MBP and MB Air. I could copy data onto it and access it without problems. Unfortunately, last week, I connected this USB hard disk to my MBP (Generation 2012 with Mac OS Lion 10.4.7) - and the MBP crashed totally and I had to fully reboot it.  Since this coincident I can't access my USB hard disk  --> it does not accept/ take my password anymore - no matter where I connect & try (iMac, MBP, MB Air…)
    In short words - the MAC's recognize the USB disk & the "enter password" sign appears on the screen - I then enter the correct password (no doubt!)  - but the USB hard disk does not accept it & in the disk utilities program I can't make any changes either (no removal of the password, no changes of the password, no decryption,…etc.)
    As the data on this USB hard drive are extremely important (I need them more than urgent!) - could you please help me with a solution to this issue?
    thanks

    This knowledge base article gives info on resetting the password.

  • What do I do if my new macbook air does not accept my password even if I've tried more than a few times?

    Hi there,
    Just bougiht a new macbook air and the start up screen is not accepting my password even though I have typed it in a few times and correctly. I have already used this mac previously for 2 days and have added microsoft office today but this is the first time I have logged in since the installation.
    I don't understand why the password isn't being accepted. Could it be the installation? Or do I need to reset my macbook air?
    Just a note, I'm not proficient using a Mac.This is my first macbook.
    Many thanks for the help.
    Tony

    You can reset your password with the install cd or usb ...
    Follow these steps to reset a password when there is only one administrator account on the computer, or if the original administrator account needs a password reset. "Original" administrator account refers to the one that was created immediately after installing Mac OS X. If the original administrator password is known, that administrator account may be used to reset the passwords of other administrator accounts using the steps described above. These steps require an optical drive; if your Mac does not have an optical drive and you have a Mac OS X v10.6 Install disc, see below.
    Start up from a Mac OS X Install disc (one whose version is closest to the version of Mac OS X installed).  Usually, you can start from the disc by putting it in your computer, restarting, and holding the C key. Or, put it in the computer and click the Install or Restore icon you see in the disc's main window (after which the computer will start from the disc without you needing to hold C). Or, you can use Startup Manager or the Startup Disk preference pane to select the Install disc.
    Choose a language, click the arrow button to continue,
    Mac OS X v10.6 or later: Choose Password Reset from the Utilities menu.
    Mac OS X v10.5 or v10.4: Choose Reset Password from the Utilities menu.
    Mac OS X v10.3: Choose Reset Password from the Installer menu.

  • Lenovo T60 issue - security center does not accept my password anymore??

    Hi to all and thanks in advance for any help given.............Lenovo T60 issue
    Everything was working as it should then a popup box came up when i was logged in and informed me that "I" had changed the password that is connected to my finger reader (online passwords have also been changed and do not work online using the finger reader) and could i now type my password into the popup on the screen.
    When i do this it still does not work - wrong password - i have tried all of the passwords i use - so i have had to uninstall the part that deals with that, i then reinstalled it just in case it was an application issue but after re-installation it was the same as before.??
    I can still use the finger reader but i do not like to rely on one secure form of login, and if it fails it could take a while to find out how to login otherwise, 
    thanks
    DigitalVein

    I had a similar problem, but it was becuase I deleted the user account that the PC was set up with.  Security Center would not work with any Administrative account.  So I had to put the user back in the system with the same original name.   Hope that helps.

  • HT2623 I have upgraded my Iphone operating system using IO6. Before doing this operation I have backed up the phone and I cannot restore my phone from the backup since it simply does not accept my password.

    I have upgraded my iPhone using IO6. Before doing this operation the advises to me is to back up the phone, which I did using iCloud.
    When I tried to restore the back it does not access my password which I have given to restore my password.

    if you cant remember the password of your back-up encryption, you can't back it up
    You will have to restore as a new phone

  • HT2500 Adding me mobileme account to mail will not work because it does not accept the password but works on iphone and ipad?

    I am attempting to add my mobile me account to mail on my iMac. The first step is to give the email address and the password. For some reason it does not recognize the password. It is the some password used on iphone and ipad and logging on to me.com

    Hello,
    The problem isn't really the Password, but the default Servers if you choose MobileMe for account type.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
    • Server name: imap.mail.me.com
    • SSL Required: Yes
    • Port: 993
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    SMTP (outgoing mail server) information:
    • Server name: smtp.mail.me.com
    • SSL Required: Yes
    • Port: 587
    • SMTP Authentication Required: Yes
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • Tiger does not recognize user/password

    This is a bit of a long story so please bear with me.
    After downloading/installing the latest security update my iMac G4 flat panel (OS 10.4) began acting buggy. Everything on the desktop disappeared. I restarted and got only the gray screen with the apple and spinning gear.
    Call Apple tech support and they had me do an archive and install. Now when I boot up the computer does not recognize my user/password. (Yes I am typing it correctly)
    I found a few threads that suggested I boot off of the Install disk and try a password reset. The problem is that when I do this there are no users to select. Only System Admin (root)
    Any thoughts?
    Thanks.

    Perform the instructions in sections 1 and 2 of this article; if your issue persists or you don't have a good backup, perform the instructions in sections 1 and 3, and then recreate your accounts in the same order they were initially created.
    (19433)

  • Don't understand why Keychain does not accept my password?

    If I launch Keychain and then double click on an item in the Login Keychain I then get a new window where I can select 'Show Password'. This will cause a another window to open asking me for my Password. So I enter my normal Login password and the password for that item is shown. Which is as I expect.
    If I now select the System Keychain and select an item and choose 'Show Password' and enter my Login password as before it is not accepted?
    I can unlock the System keychain with my Login password but I can't gain access to the two items in my system keychain using my Login password?
    What am I doing wrong or is it expecting another password which I know nothing of?
    How can I reset this such it accepts my Login password, I presume it will mean I lose those two items in my system keychain and will have to start again.
    Phil
    15 PB 1.25G 1.5Gb / iMac Rev B   Mac OS X (10.4.1)   60 Gig iPod 4G, Lacie d2 250Gb, Lacie DL DVD.

    See http://discussions.apple.com/thread.jspa?threadID=258444

  • Since the iOS 7 update i cannot log into my icloud. Seems I have two iCloud loggins. One old. one new. When I try to delete the ol from my phone it does not accept the password nor will it take my info to reset my password.

    At one point I had set up my itunes and icloud with an old email address. I have since shanged that to a new email. iTunes works fine and I can log into my new iCloud on my PC but my phone will not allow me to delete the old iCloud email without the password. I select to reset the password but the system will not accept my birthdate or security questions. All happening after i did the iOS 7 update. Any thoughts? Thank you!

    1) Did you change that old email address to your current email address to be your current Apple ID?  If so, try to enter your current password for your current Apple ID/iCloud account.  If it doesn't work, try #2.
    2) If you don't have access to your old email account.  Same process, go to https://appleid.apple.com and sign in your current iCloud/Apple ID then edit it to your old email address then Save the changes.  DON'T sign out yet.  Go back to your iOS device then delete your iCloud account.  Once deleted, go back to the Apple ID website and rename it back to your current email address.  You have to verify it this time and you will be able to since you have access to that email address.
    3) If your answer to #1 is NO, contact Apple Support (Account Security Team) to help you reset its password but you need to have another email address available which is not yet an Apple ID to send the password reset email.
    Hope this helps!  Cheers!

  • I have changed the Apple ID in the main ID settings but my iPhone does not recognise this. I have added this to the main account but it does not accept the password.

    I changed from iPhone 4s to iphone 5s. While doing the set up, I also renamed my Apple ID. However, allowed the old Id to be an alternate. However, now my iphone refuses to accept the password - neither the new one or the old one. What do I do?

    Hello, pryiyer.  
    Thank you for visiting Apple Support Communities.  
    I would recommend reaching out to our Apple ID Account Security team to assist you with this issue.
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

Maybe you are looking for