Adding Groups

team bbl


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:

1.

Click the Accounts tab.

2,.

Highlight an account.

3.

Click Properties.

4.

Click the Groups tab.

5.

Check the box by the new group in the list of groups.

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 

    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net