Linux [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Linux [Electronic resources] - نسخه متنی

Janet Valade

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


Adding Groups


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


    / 357