Sample Header Ad - 728x90

Trying to change uid to user, but says it already exists

4 votes
1 answer
3956 views
I'm trying to change the UID of user ec2-user to 500, when I try the following command getting the error UID already exists. sudo usermod -u 500 ec2-user usermod: UID '500' already exists I'm doing a grep of /etc/passwd and can't find UID 500, so not sure how I can accomplish this.
Asked by Diego (141 rep)
Jan 18, 2021, 10:55 PM
Last activity: Jul 21, 2022, 02:04 AM