Score:1

usermod error: usermod: user '1000' does not exist

fr flag

I want to allow a user to access the USB port.

I am following these instructions: https://emanual.robotis.com/docs/en/software/dynamixel/dynamixel_wizard2/

After the installation of the software, I have to add the account id to the dialout group in order to access the USB port by using this command:

sudo usermod -aG dialout <your_account_id>

Where <your_account_id> is the my User ID.

I got the UserID with echo $UID. The result is 1000. So the final command would be sudo usermod -aG dialout 1000.

However, when I type this, I get usermod: user '1000' does not exist.

How is this possible?

Bodo avatar
pt flag
Try the username instead of the UID.
fr flag
I have already done it (just restared my computer and this works)! Thank you!
fr flag
I have no problem if you answer formally. I will mark it as the selected answer.
Score:3
pt flag

The usermod command requires the username instead of the numeric user ID.
The terms account id and your actual user id in the linked instructions are misleading.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.