Apple Xserve Up Mac OS X Server Specifications Page 110

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 109
110 Chapter 8 Managing User and Group Accounts
For more information, see the createhomedir man page.
In all cases, Home folders are created on the server where you run the tool.
To create a Home folder for a user:
$ sudo createhomedir -u
uid
In addition to the uid, you can also use the user’s short name.
To create a Home folder for users in the local domain:
$ sudo createhomedir [(-a|-l|-n
domain
)] -u
uid
You can also create a user’s Home folder using the serversetup tool.
To create a Home folder for a user:
$ sudo /System/Library/ServerSetup/serversetup -createHomedir
uid
The command displays a 1 if the user ID you specify doesn’t exist.
Mounting a User’s Home Folder
To mount a user’s Home folder, use mnthome. The mnthome tool unmounts the AFP
(AppleShare) Home folder that was automounted as guest, and remounts it with the
correct privileges by logging into the AFP server using the current user name and
password.
To mount a user’s shared Home folder on an AFP server:
$ mnthome -p
password
For more information, see the mnthome man page.
Administering Group Accounts
A group is a collection of users who have similar needs. For example, you can add all
users with a task to one group and give the group permission to access certain files or
folders on a volume.
Groups simplify the administration of shared resources. Instead of granting access to
resources to each individual who needs them, you can add the users to a group and
then grant access to the group. Information in group accounts helps control user
access to folders and files. Individual users can belong to multiple groups, depending
on their access needs.
A group can be nested within another group. A group that contains another group is
called a parent group, and the group that is contained is called a nested group. Nested
groups are useful for inheriting access permissions at login time.
Page view 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 328 329

Comments to this Manuals

No comments