Information Technology Reference
In-Depth Information
argument is supported. This is -r , which is used to remove the home directory.
The following shows deleting the user3 account:
# userdel -r user3
#
Group Accounts
Group accounts can be added, modified, or deleted using command-line util-
ities or by using the admintool(1M) command. Use of the admintool com-
mand reduces or eliminates the possible introduction of typos and other
errors that might affect all the group accounts.
However, the admintool command requires a graphical interface and is more
time consuming than using the command-line utilities manually. These
command-line utilities are as follows:
groupadd(1M)
groupmod(1M)
groupdel(1M)
Both the admintool command and the command-line utilities are described
in the following sections.
Creating a Group Using the admintool Command
To create a group account, start the admintool command if it is not already
active. Display the Groups window by selecting Groups from the Browse
pull-down menu.
Then, display the Add Group window by selecting Add from the Edit pull-
down menu.
Enter a unique group name in the Group Name field. Use the next avail-
able GID number or enter a unique GID in the Group ID field. In the
Members List field, enter one or more user account names separated by
commas. Using the mouse, click OK. The new group is displayed in the
Groups window.
Modifying a Group Using the admintool Command
To modify a group account, display the Group window. Click the account
you want to modify, and then select Modify from the Edit menu. Change the
fields in the Modify Group window, and click Apply to save the changes.
Search WWH ::




Custom Search