Results 1 to 3 of 3

Thread: usermod: can't lock /etc/password

  1. #1
    Join Date
    Mar 2010
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    usermod: can't lock /etc/password

    I'm trying to start the fluidsynth MIDI program, and it's asking me to run 'usermod -a -G audio username' to configure it correctly. However, when I try that, it says:
    Code:
    usermod: cannot lock /etc/passwd; try again later.
    I've rebooted multiple times, and it still persists. Is there a way to fix this or achieve this another way?

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: usermod: can't lock /etc/password

    Quote Originally Posted by alem189 View Post
    I'm trying to start the fluidsynth MIDI program, and it's asking me to run 'usermod -a -G audio username' to configure it correctly. However, when I try that, it says:
    Code:
    usermod: cannot lock /etc/passwd; try again later.
    I've rebooted multiple times, and it still persists. Is there a way to fix this or achieve this another way?
    Code:
    man sudo
    And you do know that "username" means your username?
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Mar 2010
    Beans
    87
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: usermod: can't lock /etc/password

    Wow, that was stupid of me...

Tags for this Thread

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
  •