On 07/20/2020 03:09 PM, Patrick Dupre wrote:
Hello,
I want to add the user pdupre to the group vboxusers
groups vboxusers
groups: ‘vboxusers’: no such user
What else did you expect? That command is used to list the groups a
user is a member of. As vboxusers isn't a user, it can't belong to any
groups.
but
useradd -m pdupre -G vboxusers
useradd: user 'pdupre' already exists
Again, what else did you expect? The useradd command is used to add a
user to the list, and as pdupre is already in the list of users, that's
what you should have expected. HTH, HAND.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org