Results 1 to 2 of 2

Thread: passwd not working after editing /etc/shadow

  1. #1
    Join Date
    Sep 2015
    Beans
    4

    passwd not working after editing /etc/shadow

    *solved* - I used sudo passwd which changes root, not the current user. As it does not output the username in this case I did not notice my error.
    Last edited by buntunoob2; December 7th, 2021 at 09:49 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: passwd not working after editing /etc/shadow

    To change the password for any user, use:
    Code:
    $ sudo passwd {username}
    To change the current user's password, use:
    Code:
    $ passwd
    Posts are typically not removed, so it isn't useful to ask for deletion. What can be done, so not to waste people's time is to mark it as SOLVED using the thread tools button. Only the person who created the thread can do that. Help out the community, please.

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
  •