PW -G does not work

You must be root. You'd better use: pw groupmod video -m user.
If you're root what is the output of ls -l /etc/group (and not groups)?
 
This is not the real output of ls -l /etc/group. Should be something like:
Code:
ls -l /etc/group
-rw-r--r--  1 root  wheel  623 31 oct.   2021 /etc/group
If you want some help, try to be more precise. Show the exact command and the exact output each time and especially for the error you get.
 
pw usermod -G does not add my current user to the video group when I afterrun the user ID
You're using it wrong.

Code:
     -G grouplist  Set secondary group memberships for an account.  grouplist
                   is a comma, space, or tab-separated list of group names or
                   group numbers.  The user is added to the groups specified
                   in grouplist, and removed from all groups not specified.
                   The current login session is not affected by group
                   membership changes, which only take effect when the user
                   reconnects.  Note: do not add a user to their primary group
                   with grouplist.

If you want to add your user to the video group use pw groupmod video -m <user>

Code:
     -m newmembers  Similar to -M, this option allows the addition of existing
                    users to a group without replacing the existing list of
                    members.  Login names or user ids may be used, and
                    duplicate users are silently eliminated.
 
This is not the real output of ls -l /etc/group. Should be something like:
Code:
ls -l /etc/group
-rw-r--r--  1 root  wheel  623 31 oct.   2021 /etc/group
If you want some help, try to be more precise. Show the exact command and the exact output each time and especially for the error you get.
That's not possible when stuck at the startup command line of a new system!
BTW: you didn't bother to answer the question!
 
Back
Top