Apple Xserve Up Mac OS X Server Specifications Page 118

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 117
118 Chapter 8 Managing User and Group Accounts
Viewing the Workgroup a User Selects at Login
When you define preferences for a group, it is known as a workgroup. A workgroup
provides you with a way to manage the working environment of group members.
Preferences you define for a Mac OS X workgroup are stored in the group account.
When a user selects a workgroup at login, a property list (plist) file stores the short
name of the workgroup in its workgroup key.
Important: You can only view the workgroup a user selects at login on the client
computer.
To view the workgroup a user selects at login:
1 Connect to the client computer using an account with administrator privileges.
$ ssh
admin
@
computer.name
Replace
admin
with the short name of the client computer’s administrator and
computer.name
with the IP address or the DNS name of the client computer.
2 Convert the binary com.apple.MCX.plist file to XML format.
$ sudo plutil -convert xml1 /Library/Managed Preferences/
shortname
/
com.apple.MCX.plist
Replace
shortname
with the short name of the logged-in client account.
3 View the workgroup key in /Library/Managed Preferences/shortname/
com.apple.MCX.plist file.
$ cat /Library/Managed Preferences/shortname/com.apple.MCX.plist
Replace
shortname
with the short name of the logged-in client account.
Working with Managed Preferences
To control managed preferences, use MCX extensions with the dscl command. You can
also use the mcxquery command to view effective managed preferences for users,
workgroups, and computer groups.
Using MCX Extensions
Although you can use other dscl commands to control managed preferences, using
MCX command extensions with dscl provides an easier way. You can use these
extensions in interactive or command-line modes.
The dscl command provides the following MCX extensions:
Extension Description
-mcxread Displays the existing values of an MCX preference key.
-mcxset Sets the value of an MCX preference key.
-mcxedit Updates the value of an MCX preference key.
Page view 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 328 329

Comments to this Manuals

No comments