Multiple choice

Which of the following statements is the correct way of changing the user ID of a user named ABC to 555?

  1. usermod -u 555 ABC

  2. usermod -u ABC 555

  3. usermod 555 ABC

  4. usermod ABC -u 555

  5. useradd-u 555 jim

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Each Linux user has a unique identification number known as User ID(UID) which is assigned automatically. To change its value, the command 'usermod -u UID username' can be used.