• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Easy (and dumb) Linux Question

Workin'

Diamond Member
I can't figure this out 😱

How do I create and manage groups and assign users to them from the command line? I'm running Debian "woody" if that makes a difference.

Thanks!
 
just edit the /etc/group file to add a group, and edit the /etc/passwd file to add users to the new group.

You can look at the man pages for group & passwd to get the details.
 
useradd, userdel, usermod, groupadd, groupdel. groupmod.

Or you can just edit /etc/passwd and /etc/group manually if you want. /etc/passwd only contains the user's primary group, don't try to put mulitple groups in there.
 
Back
Top