Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Note that important caveats are listed in the usermod(8) manual, such as crontab or at job files, etc. Commented Oct 2, 2015 at 23:46
  • I tried the first usermod command you listed however I got "sudo: unable to resolve host HostName" and "usermod: user TheNameIWantToChange is currently used by process 2559" Commented Oct 3, 2015 at 0:21
  • EDIT: Now, I only get "usermod: user TheNameIWantToChange is currently used by process 2559 Commented Oct 3, 2015 at 0:32
  • can you provide the output of ps -q 2559? In any event, it seems like the user TheNameIWantToChange already exists on your system. To make it clearer, can you list all the users you created (not system created users)? Commented Oct 3, 2015 at 0:53