|
To add a group, use the account management utility discussed earlier in this chapterthe utility used to look at and change account information. On Fedora, select main menu->System Settings->Users and Groups to get the window shown in Figure 8-2. Click the Groups tab. Click Add Group. You see the window in Figure 8-8. Figure 8-8. Add groups dialog window.Type the name for the new group and click OK. Group names must be less than 17 characters and may not begin with a number. The new group will be added to the window in Figure 8-7, with no group members listed. To add accounts to the group:
New groups can also be created from the command line in a terminal window. While logged in as root (or su to root), type: groupadd sales To add a user to a group, type: groupmod -G group user where group is the name of the group and user is the account name, for example: groupmod -G sales janet3 |
|