Apple oxs - Manual

Apple oxs

Apple oxs – Manual, read for free online in PDF format. We hope this helps you resolve any issues you may have. If you have further questions, please contact us through the contact form.

1 Page 1
2 Page 2
3 Page 3
4 Page 4
5 Page 5
6 Page 6
7 Page 7
8 Page 8
9 Page 9
10 Page 10
11 Page 11
12 Page 12
13 Page 13
14 Page 14
15 Page 15
16 Page 16
17 Page 17
18 Page 18
19 Page 19
20 Page 20
21 Page 21
22 Page 22
23 Page 23
24 Page 24
25 Page 25
26 Page 26
27 Page 27
28 Page 28
29 Page 29
30 Page 30
31 Page 31
32 Page 32
33 Page 33
34 Page 34
35 Page 35
36 Page 36
37 Page 37
38 Page 38
39 Page 39
40 Page 40
41 Page 41
42 Page 42
43 Page 43
44 Page 44
45 Page 45
46 Page 46
47 Page 47
48 Page 48
49 Page 49
50 Page 50
51 Page 51
52 Page 52
53 Page 53
54 Page 54
55 Page 55
56 Page 56
57 Page 57
58 Page 58
59 Page 59
60 Page 60
61 Page 61
62 Page 62
63 Page 63
64 Page 64
65 Page 65
66 Page 66
67 Page 67
68 Page 68
69 Page 69
70 Page 70
71 Page 71
72 Page 72
73 Page 73
74 Page 74
75 Page 75
76 Page 76
77 Page 77
78 Page 78
79 Page 79
80 Page 80
81 Page 81
82 Page 82
83 Page 83
84 Page 84
85 Page 85
86 Page 86
87 Page 87
88 Page 88
89 Page 89
90 Page 90
91 Page 91
92 Page 92
93 Page 93
94 Page 94
95 Page 95
96 Page 96
97 Page 97
98 Page 98
99 Page 99
100 Page 100
101 Page 101
102 Page 102
103 Page 103
104 Page 104
105 Page 105
106 Page 106
107 Page 107
108 Page 108
109 Page 109
110 Page 110
111 Page 111
112 Page 112
113 Page 113
114 Page 114
115 Page 115
116 Page 116
117 Page 117
118 Page 118
119 Page 119
120 Page 120
121 Page 121
122 Page 122
123 Page 123
124 Page 124
125 Page 125
126 Page 126
127 Page 127
128 Page 128
129 Page 129
130 Page 130
131 Page 131
132 Page 132
133 Page 133
134 Page 134
135 Page 135
136 Page 136
137 Page 137
138 Page 138
139 Page 139
140 Page 140
141 Page 141
142 Page 142
143 Page 143
144 Page 144
145 Page 145
146 Page 146
147 Page 147
148 Page 148
149 Page 149
150 Page 150
151 Page 151
152 Page 152
153 Page 153
154 Page 154
155 Page 155
156 Page 156
157 Page 157
158 Page 158
159 Page 159
160 Page 160
161 Page 161
162 Page 162
163 Page 163
164 Page 164
165 Page 165
166 Page 166
167 Page 167
168 Page 168
169 Page 169
170 Page 170
171 Page 171
172 Page 172
173 Page 173
174 Page 174
175 Page 175
Page: / 175

Table of Contents:

  • Page 3 – Contents; Preface; servermgrd; Chapter
  • Page 6 – serveradmin
  • Page 10 – ldapsearch; Index
  • Page 11 – refac; About This Book; Notation Conventions; The following conventions are used throughout this book.; Summary; You can use the; command to get things done.; Command Parameters and Options
  • Page 12 – Parameters You Must Type as Shown; Optional Parameters; Alternative Parameters; Default Settings
  • Page 13 – Typing Commands; command to log in to other servers. You can use the; command to view online documentation for most common commands.; Using Terminal
  • Page 14 – If you get the message; Correcting Typing Errors; To ignore what you have typed and start again, press Control-U.; Repeating Commands
  • Page 15 – Commands Requiring Root Privileges
  • Page 16 – Sending Commands to a Remote Server; To open a connection to a remote server:; To close a remote connection; Sending a Single Command
  • Page 17 – Updating SSH Key Fingerprints
  • Page 18 – Using Telnet; To enable Telnet access:; To disable Telnet access:; Getting Online Help for Commands
  • Page 19 – Notes About Specific Commands and Tools; serversetup; Determining Whether a Service Needs to be Restarted
  • Page 21 – Installing Server Software; command to install Mac OS X Server or other software on a; Automating Server Setup; Creating a Configuration File Template; To save a template configuration file during server setup:; So you can later edit the file, don’t select “Save in Encrypted Format.”
  • Page 22 – Creating Customized Configuration Files from the Template File; A computer name and host name of “server1.company.com”
  • Page 25 – Naming Configuration Files; Changing Server Settings
  • Page 26 – Updating Server Software
  • Page 27 – Moving a Server; When you move a server, consider these guidelines:; tool to change IP addresses, host
  • Page 29 – Restarting a Server; Examples; To restart the local server:; To restart a remote server at a specific time:; Automatic Restart; You can also use the
  • Page 30 – Changing a Remote Server’s Startup Disk; You can change a remote server’s startup disk using SSH.; To change the startup disk:; Log in to the remote server using SSH and type; Shutting Down a Server; command to shut down a server at a specific time. For more; To shut down a remote server immediately:; To shut down the local server in 30 minutes:
  • Page 31 – Computer Name; Viewing or Changing the Computer Name; To display the server’s computer name:; Date and Time
  • Page 32 – Viewing or Changing the System Date
  • Page 33 – Viewing or Changing Network Time Server Usage; Energy Saver Settings; command to view or change a server’s energy saver; Viewing or Changing Sleep Settings; Viewing or Changing Automatic Restart Settings
  • Page 34 – Power Management Settings; Startup Disk Settings; Viewing or Changing the Startup Disk
  • Page 35 – Sharing Settings; Viewing or Changing Remote Login Settings; International Settings; Viewing or Changing Language Settings
  • Page 36 – Login Settings; Disabling the Restart and Shutdown Buttons; disables the buttons.; To view the current setting:
  • Page 37 – Network Preferences; Network Interface Information; Viewing Port Names and Hardware Addresses; To list all port names:; To list hardware port information by port configuration:; To scan for new hardware ports:
  • Page 38 – Viewing or Changing MTU Values; Network Port Configurations; Creating or Deleting Port Configurations; Activating Port Configurations
  • Page 39 – To enable or disable a port configuration:; Changing Configuration Precedence; To list the configuration order:; To change the order of the port configurations:; Changing a Server’s IP Address; To change a server’s IP address:; Run the; For more information or examples, see the man page.; or; command (or the Network pane of System
  • Page 40 – Viewing or Changing IP Address, Subnet Mask, or Router Address
  • Page 41 – Viewing or Changing DNS Servers
  • Page 42 – AppleTalk Settings; Enabling and Disabling AppleTalk; If you don’t provide an interface, en0 is assumed.; Proxy Settings; Viewing or Changing FTP Proxy Settings
  • Page 43 – Viewing or Changing Web Proxy Settings
  • Page 44 – Viewing or Changing SOCKS Firewall Proxy Settings; AirPort Settings; Viewing or Changing Airport Settings
  • Page 45 – Viewing or Changing the Local Host Name; The command displays a 0 if the name was changed.
  • Page 47 – Working With Disks and Volumes; Mounting and Unmounting Volumes; Mounting Volumes; Unmounting Volumes; Checking for Disk Problems
  • Page 48 – Monitoring Disk Space; is disabled by default. You can enable it by opening a Terminal; . You may be prompted for your; for more information about the command-; uses information in a configuration file to
  • Page 49 – Reclaiming Disk Space Using Log Rolling Scripts
  • Page 50 – Managing Disk Journaling; Checking to See if Journaling is Enabled; To see if journaling is enabled:; Turning on Journaling for an Existing Volume; To enable journaling:; Example
  • Page 51 – Enabling Journaling When You Erase a Disk; To enable journaling when erasing a disk:; Disabling Journaling; To disable journaling:; Erasing, Partitioning, and Formatting Disks; Setting Up a Case-Sensitive HFS+ File System
  • Page 52 – Imaging and Cloning Volumes Using ASR; To image a boot volume:; To restore a volume from an image:
  • Page 53 – Working With Users and Groups; Creating Server Administrator Users; command to create administrator users for a server. To; To create a user with a specific UID:
  • Page 54 – Importing Users and Groups; To import users and groups:
  • Page 55 – Creating a Character-Delimited User Import File; Writing a Record Description
  • Page 56 – Using the; Shorthand
  • Page 57 – An example user account looks like this:; , the following record description is assumed:; Here is an example of a record encoded using the description:; User Attributes
  • Page 60 – Mail Attributes in User Records
  • Page 62 – Checking a Server User’s Name, UID, or Password; These tasks only apply to the local directory on the server.; The command displays a 1 if the password is good, 0 if it isn’t.
  • Page 63 – Creating a User’s Home Directory; To create a home directory for a particular user:; Mounting a User’s Home Directory; Creating a Group Folder; Checking a User’s Administrator Privileges; To see if a user is a server administrator:
  • Page 65 – Working With File Services; Share Points; Listing Share Points; To list existing share points:
  • Page 66 – Creating a Share Point; To create a share point:
  • Page 67 – Modifying a Share Point; AFP Service; Starting and Stopping AFP Service; Checking AFP Service Status; Viewing AFP Settings
  • Page 68 – To list a particular setting:; Changing AFP Settings; You can change AFP service settings using the; To change several settings:; List of AFP Settings; The following table lists AFP settings as they appear using
  • Page 72 – List of AFP; Commands; In addition to the standard; Listing Connected Users; To list connected users:
  • Page 73 – Sending a Message to AFP Users; Disconnecting AFP Users
  • Page 74 – Canceling a User Disconnect; To cancel a disconnect:; Output
  • Page 75 – Listing AFP Service Statistics; command to display a log of periodic
  • Page 76 – Viewing AFP Log Files; You can use; command to see where the current AFP; NFS Service; Starting and Stopping NFS Service; Viewing NFS Settings
  • Page 77 – Changing NFS Service Settings; Use the following parameters with the; FTP Service; Starting FTP Service; Stopping FTP Service; Checking FTP Service Status; Viewing FTP Settings
  • Page 78 – Changing FTP Settings; You can change FTP service settings using the; FTP Settings
  • Page 79 – List of FTP; You can use the following commands with the
  • Page 80 – Viewing the FTP Transfer Log; Checking for Connected FTP Users; Starting and Stopping SMB Service; Checking SMB Service Status
  • Page 81 – Viewing SMB Settings; To list all SMB service settings:; Changing SMB Settings; You can change SMB service settings using the
  • Page 82 – List of SMB Service Settings
  • Page 84 – List of SMB; You can use these commands with the; Listing SMB Users
  • Page 85 – Disconnecting SMB Users; command to disconnect SMB users.
  • Page 86 – Listing SMB Service Statistics; Updating Share Point Information; After you make a change to an SMB share point using the; update the SMB service information.
  • Page 87 – Viewing SMB Service Logs; To view the latest entries in a log:; command to see where the current SMB; To display the log paths:
  • Page 89 – Working With Print Service; Starting and Stopping Print Service; where
  • Page 90 – Changing Print Service Settings; Print Service Settings
  • Page 91 – Queue Data Array
  • Page 92 – Here is an example of a queue array parameter block:
  • Page 93 – Print Service; To release the queue:
  • Page 94 – Listing Jobs and Job Information; Holding a Job
  • Page 95 – To release the job for printing, change its state to; Viewing Print Service Log Files; command to see where the current logs
  • Page 97 – Working With NetBoot Service; Starting and Stopping NetBoot Service; To start NetBoot service:; If you get the following response:; To stop NetBoot service:; Checking NetBoot Service Status; To see if NetBoot service is running:; To see complete NetBoot status:; Viewing NetBoot Settings; To list all NetBoot service settings:
  • Page 98 – Changing NetBoot Settings; You can change NetBoot service settings using the; NetBoot Service Settings; General Settings
  • Page 99 – Storage Record Array; A volume parameter array:; Filters Record Array
  • Page 100 – Image Record Array
  • Page 101 – Port Record Array
  • Page 103 – Working With Mail Service; Starting and Stopping Mail Service; Checking the Status of Mail Service; Viewing Mail Service Settings
  • Page 104 – Changing Mail Service Settings; to modify your server’s mail configuration. However, if you; Mail Service Settings; command to change settings for
  • Page 116 – Mail
  • Page 117 – Listing Mail Service Statistics
  • Page 118 – Viewing the Mail Service Logs; command to see where the Mail service; To display the log locations:
  • Page 119 – Setting Up SSL for Mail Service; Generating a CSR and Creating a Keychain
  • Page 121 – Obtaining an SSL Certificate
  • Page 122 – Creating a Passphrase File; Setting Up SSL for Mail Service on a Headless Server
  • Page 123 – Working With Web Technologies; Starting and Stopping Web Service; To start Web service:; Checking Web Service Status; To see if Web service is running:; To see complete Web service status:; Viewing Web Settings; to view your server’s Web service configuration. However, if; To list all Web service settings:
  • Page 124 – To list a group of settings:; Changing Web Settings; and Apache Settings; . For example, this block of Apache configuration parameters; appear as follows in; Changing Settings Using; You can change Web service settings using the
  • Page 125 – Web
  • Page 126 – Viewing Service Statistics
  • Page 127 – Example Script for Adding a Website; addsite; The addsite File
  • Page 128 – with
  • Page 129 – Working With Network Services; DHCP Service; Starting and Stopping DHCP Service; Checking the Status of DHCP Service; Viewing DHCP Service Settings
  • Page 130 – Changing DHCP Service Settings; DHCP Service Settings
  • Page 131 – DHCP Subnet Settings Array; to add an array of these settings.; About Subnet IDs; In an actual list of settings,
  • Page 133 – Adding a DHCP Subnet
  • Page 134 – List of DHCP; You can use the following command with the; Viewing the DHCP Service Log; To display the log path:
  • Page 135 – DNS Service; to modify your server’s DNS configuration. However, you’ll
  • Page 136 – Listing DNS Service Statistics; Sample Output; Firewall Service; Starting and Stopping Firewall Service; To start Firewall service:; To stop Firewall service:
  • Page 137 – Checking the Status of Firewall Service; Viewing Firewall Service Settings; Changing Firewall Service Settings; Firewall Service Settings
  • Page 138 – IPFilter Groups With Rules Array; is; Defining Firewall Rules; Adding Rules by Modifying; For more information, read the
  • Page 140 – Adding Rules Using
  • Page 141 – IPFilter Rules Array; Firewall
  • Page 142 – Viewing Firewall Service Log; command to see where the current; Using Firewall Service to Simulate Network Activity; NAT Service; Starting and Stopping NAT Service; Checking the Status of NAT Service; Viewing NAT Service Settings
  • Page 143 – Changing NAT Service Settings; NAT Service Settings
  • Page 144 – NAT; To view the latest entries in the log:
  • Page 145 – VPN Service; Starting and Stopping VPN Service
  • Page 146 – List of VPN Service Settings
  • Page 149 – List of VPN
  • Page 150 – IP Failover; Requirements; Hardware; Failover Operation
  • Page 151 – Enabling IP Failover; To enable IP failover:; Restart the primary server so that your changes can take effect.
  • Page 152 – Configuring IP Failover; Notification Only; PreAcq – run before acquiring IP address from primary server
  • Page 155 – Working With Open Directory; General Directory Tools; Testing Your Open Directory Configuration
  • Page 156 – Registering URLs With Service Location Protocol (SLP)
  • Page 157 – LDAP; Configuring LDAP; slapconfig; Standard Distribution Tools; A Note on Using
  • Page 158 – The; to use simple authentication instead of SASL.; Idle Rebinding Options; Delay Rebind; You should find this parameter in the plist file near; Idle Timeout; If it doesn’t already exist in the plist file, you can add it near; Additional Information About LDAP
  • Page 159 – NetInfo; Configuring NetInfo; Password Server; Working With the Password Server; To see a list of available methods:
  • Page 160 – Kerberos and Single Sign On
  • Page 161 – Starting QTSS Service; To start QTSS service:; Stopping QTSS Service; To stop QTSS service:; Checking QTSS Service Status; To see if QTSS service is running:; To see complete QTSS status:
  • Page 162 – Viewing QTSS Settings; To list all QTSS service settings:; Changing QTSS Settings; You can change QTSS service settings using the; command or by editing
  • Page 163 – QTSS Settings; Descriptions of Settings; For example, to see a description of; QTSS parameters you might change:
  • Page 166 – QTSS; Listing Current Connections
  • Page 167 – Viewing QTSS Service Statistics
  • Page 168 – Viewing Service Logs; Forcing QTSS to Re-Read its Preferences; To force QTSS to re-read its preferences:
  • Page 169 – Preparing Older Home Directories for User Streaming
  • Page 171 – Inde
Loading the manual

Mac OS X Server
Command-Line
Administration

For Version 10.3 or Later

034-2454_Cvr 10/15/03 11:47 AM Page 1

"Loading the manual" means you need to wait until the file loads and becomes available for online reading. Some manuals are very large, and the time they take to appear depends on your internet speed.

Summary

Page 3 - Contents; Preface; servermgrd; Chapter

3 1 Contents Preface 11 About This Book 11 Notation Conventions 11 Summary 11 Commands and Other Terminal Text 11 Command Parameters and Options 12 Default Settings 12 Commands Requiring Root Privileges Chapter 1 13 Typing Commands 13 Using Terminal 14 Correcting Typing Errors 14 Repeating Commands ...

Page 6 - serveradmin

6 Contents 57 User Attributes 62 Checking a Server User’s Name, UID, or Password 63 Creating a User’s Home Directory 63 Mounting a User’s Home Directory 63 Creating a Group Folder 63 Checking a User’s Administrator Privileges Chapter 8 65 Working With File Services 65 Share Points 65 Listing Share P...

Page 10 - ldapsearch; Index

10 Contents 157 A Note on Using ldapsearch 158 Idle Rebinding Options 158 Additional Information About LDAP 159 NetInfo 159 Configuring NetInfo 159 Password Server 159 Working With the Password Server 159 Viewing or Changing Password Policies 159 Enabling or Disabling Authentication Methods 160 Kerb...

Other Apple Models

All Apple Other