Been there!![]()
Chapter 3. FreeBSD Basics
Basic commands and functionality of the FreeBSD operating systemdocs.freebsd.org
You're using it wrong.pw usermod -G
does not add my current user to the video group when I afterrun the user ID
-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.
pw groupmod video -m <user>
-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.
That's not possible when stuck at the startup command line of a new system!This is not the real output ofls -l /etc/group
. Should be something like:
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.Code:ls -l /etc/group -rw-r--r-- 1 root wheel 623 31 oct. 2021 /etc/group
For sure, we don't have the same FreeBSD base system...That's not possible when stuck at the startup command line of a new system!
BTW: you didn't bother to answer the question!
I have *bothered* to work it out for myself!For sure, we don't have the same FreeBSD base system...
Maybe someone else will *bother* to help you.