Results 1 to 3 of 3

Thread: Unable to sudo or authenticate after passwd -d

  1. #1
    Join Date
    May 2010
    Beans
    1

    Unable to sudo or authenticate after passwd -d

    While installing Ubuntu I've set my user password which started to annoy me while doing sudo or something. I've decided to remove password with passwd -d user. After that I'm no longer able to use sudo. It asks for a password which I've removed.



    Code:
    damian@damian-laptop:~$ sudo su
    [sudo] password for damian: 
    Sorry, try again.
    [sudo] password for damian: 
    Sorry, try again.
    [sudo] password for damian: 
    Sorry, try again.
    sudo: 3 incorrect password attempts
    damian@damian-laptop:~$
    //solved. I've forgot about simpliest passwd user
    Last edited by dstojek; May 1st, 2010 at 04:13 PM. Reason: solved

  2. #2
    Join Date
    Apr 2013
    Beans
    1

    Re: Unable to sudo or authenticate after passwd -d

    I've got the same problem.

    I deleted the password with
    sudo passwd -d username

    And afterwards every su-commands asks for an password. Neither the old nor an empty password is working.

    What can I do?

    Thanks
    tie


    okay I solved it:
    when executing "passwd" without sudo I was not asked for the old password. So I gave me a new one and afterwards I disabled the password in the system settings
    Last edited by tie82; April 1st, 2013 at 05:36 PM.

  3. #3
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,809
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Unable to sudo or authenticate after passwd -d

    Thread closed. Please do not post in old threads.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •