Manuals
/
Apple
/
Computer Equipment
/
Server
Apple
oxs
manual
Models:
oxs
1
170
175
175
Download
175 pages
24.88 Kb
167
168
169
170
171
172
173
174
<
>
Install
Password
Default Settings
Postfixdeliverlockdelay
Login
$ sudo serveradmin list
Disconnecting AFP Users
Configuring Ldap
Checking for Disk Problems
GuestAccess
Page 170
Image 170
Page 169
Page 171
Page 170
Image 170
Page 169
Page 171
Contents
Mac OS X Server Command-Line Administration
034-2354/10-24-03
Contents
Viewing or Changing Sleep Settings
Setting General System Preferences
Energy Saver Settings
Power Management Settings
Mounting Volumes
Working With Disks and Volumes
Mounting and Unmounting Volumes
Unmounting Volumes
Starting and Stopping AFP Service
Working With File Services
AFP Service
Checking AFP Service Status
Checking the Status of Print Service
Working With Print Service
Starting and Stopping Print Service
Viewing Print Service Settings
Changing Settings Using serveradmin
156 Changing Open Directory Service Settings 157
157 Configuring Ldap
Index
171
Notation Conventions
Commands and Other Terminal Text
Command Parameters and Options
Summary
Default Settings
Commands Requiring Root Privileges
Using Terminal
To open Terminal
Including Paths Using Drag-and-Drop
Correcting Typing Errors
Repeating Commands
To type a command
$ sudo serveradmin list
Example ssh -l admin
Sending Commands to a Remote Server
Sending a Single Command
To open a connection to a remote server
Updating SSH Key Fingerprints
To enable Telnet access
Getting Online Help for Commands
Using Telnet
To disable Telnet access
Serversetup
Determining Whether a Service Needs to be Restarted
Page
Creating a Configuration File Template
Installing Server Software
Automating Server Setup
To save a template configuration file during server setup
Installing Server Software and Finishing Basic Setup
Installing Server Software and Finishing Basic Setup
Installing Server Software and Finishing Basic Setup
Storing a Configuration File in an Accessible Location
Changing Server Settings
Naming Configuration Files
Viewing, Validating, and Setting the Software Serial Number
Updating Server Software
Moving a Server
Page
To restart the local server
Examples
Automatic Restart
To restart a remote server immediately
To change the startup disk
Changing a Remote Server’s Startup Disk
Shutting Down a Server
To shut down a remote server immediately
Viewing or Changing the Computer Name
Computer Name
Date and Time
To display the server’s computer name
Viewing or Changing the System Time Zone
Viewing or Changing the System Date
Viewing or Changing the System Time
Viewing or Changing Automatic Restart Settings
Energy Saver Settings
Viewing or Changing Sleep Settings
Viewing or Changing Network Time Server Usage
Viewing or Changing the Startup Disk
Power Management Settings
Startup Disk Settings
Viewing or Changing Remote Login Settings
Sharing Settings
International Settings
Viewing or Changing Language Settings
Disabling the Restart and Shutdown Buttons
Login Settings
To view the current setting
Viewing Port Names and Hardware Addresses
Creating or Deleting Port Configurations
Network Port Configurations
Viewing or Changing Media Settings
Activating Port Configurations
Changing a Server’s IP Address
TCP/IP Settings
Changing Configuration Precedence
To view TCP/IP settings for a particular port or device
To list TCP/IP settings for a configuration
To view TCP/IP settings for port en0
To change TCP/IP settings for a particular port or device
Viewing or Changing DNS Servers
Viewing or Changing FTP Proxy Settings
AppleTalk Settings
Proxy Settings
Enabling TCP/IP
Viewing or Changing Streaming Proxy Settings
Viewing or Changing Web Proxy Settings
Viewing or Changing Secure Web Proxy Settings
Viewing or Changing Gopher Proxy Settings
Viewing or Changing Airport Settings
AirPort Settings
Viewing or Changing Socks Firewall Proxy Settings
Computer, Host, and Rendezvous Name
Viewing or Changing the Local Host Name
Viewing or Changing the Rendezvous Name
Page
Unmounting Volumes
Checking for Disk Problems
Mounting Volumes
Monitoring Disk Space
Reclaiming Disk Space Using Log Rolling Scripts
Managing Disk Journaling
Checking to See if Journaling is Enabled
Turning on Journaling for an Existing Volume
Example
Erasing, Partitioning, and Formatting Disks
Enabling Journaling When You Erase a Disk
Setting Up a Case-Sensitive HFS+ File System
Disabling Journaling
To restore a volume from an image
Imaging and Cloning Volumes Using ASR
To image a boot volume
Hdiutil convert -format Udzo pathtoimage -o compressedimage
To create a user with a specific UID and home directory
To create a user
To create a user with a specific UID
Importing Users and Groups
To import users and groups
Use the shorthand StandardGroupRecord
Creating a Character-Delimited User Import File
Writing a Record Description
DSRecTypeStandardGroups
Using the StandardUserRecord Shorthand
Format Sample values
User Attributes
Attribute
Attribute Format Sample values
Authentication
MCXSettings
AdminLimits
AuthenticationHint
Mail Attributes in User Records
MailAttribute field Description Sample values
NotificationOff is assumed NotificationStaticIP
NotificationState
KNotificationState
Value
Checking a Server User’s Name, UID, or Password
Creating a Group Folder
Checking a User’s Administrator Privileges
Creating a User’s Home Directory
Mounting a User’s Home Directory
Page
Listing Share Points
To list existing share points
Examples
Creating a Share Point
To create a share point
AFP Service
Changing AFP Settings
List of AFP Settings
AllowRootLogin
Admin31GetsSp
AdminGetsSp
AttemptAdminAuth
Default = afpserver
GuestAccess
AdminUsers
LogLogin
Noadminkills
Unixwithclassicadminpermissions
Default = classicpermissions
SpecialAdminPrivs
To list connected users
List of AFP serveradmin Commands
Listing Connected Users
Output
To send a message
Disconnecting AFP Users
Sending a Message to AFP Users
To disconnect users
Value Description
Canceling a User Disconnect
To cancel a disconnect
Listing AFP Service Statistics
To list samples
Checking NFS Service Status
NFS Service
Starting and Stopping NFS Service
Viewing NFS Settings
FTP Service
Parameter ftp
Changing FTP Settings
FTP Settings
List of FTP serveradmin Commands
Ftpcommand= Description
Page
To list all SMB service settings
Viewing SMB Settings
Changing SMB Settings
Or see List of SMB Service Settings on
List of SMB Service Settings
Parameter smb Description
Log level
Netbios name
Local master
Max smbd processes
Listing SMB Users
List of SMB serveradmin Commands
Smbcommand= Description
Disconnecting SMB Users
Value returned by getConnectedUsers
Listing SMB Service Statistics
Updating Share Point Information
Var/log/samba/log.smbd
Viewing SMB Service Logs
Smb-log
Name-log
Page
Checking the Status of Print Service
Viewing Print Service Settings
Parameter print Description
Changing Print Service Settings
Print Service Settings
Queue Data Array
Parameter printDescription
Here is an example of a queue array parameter block
Listing Queues
Print Service serveradmin Commands
Pausing a Queue
To pause a queue
To hold a job
Listing Jobs and Job Information
Holding a Job
Viewing Print Service Log Files
To release the job
Page
Checking NetBoot Service Status
Viewing NetBoot Settings
General Settings
Changing NetBoot Settings
NetBoot Service Settings
Parameter netboot Description
Storage Record Array
Filters Record Array
Image Record Array
Port Record Array
NetBootPortsRecordsArrayarrayindexm
IsEnabledAtIndex
Ethernet
Page
Checking the Status of Mail Service
Viewing Mail Service Settings
Parameter mail Description
Changing Mail Service Settings
Mail Service Settings
Postfixsmtpsaslpasswordmaps
Postfixdisablevrfycommand
Postfixlmtpsaslpasswordmaps
Postfixsmtpsaslauthenable
Postfixdefaultverpdelimiters
Postfixdeliverlockdelay
Postfixmailboxcommand
Postfixcleanupservicename
Postfixsmtpdtimeout
Postfixforkdelay
Postfixdisablemimeoutputconversion
Postfixsmtpderrorsleeptime
Postfixrelaytransport
Postfixdelaywarningtime
Postfixtriggertimeout
Postfixaliasmaps
Postfixdefaulttransport
Postfixsmtpdnoopcommands
Postfixalternateconfigdirectories
Postfixsmtpddelayreject
Postfixdefaultprivs
Postfixqueueservicename
Postfixipctimeout
Postfixinflowdelay
Postfixqmqpdtimeout
Postfixshowqservicename
Postfixsmtppixworkarounddelaytime
Postfixignoremxlookuperror
Postfixqmqpderrordelay
Postfixbounceservicename
Postfixcontentfilter
Postfixsmtpdsenderloginmaps
Postfixlmtpdataxfertimeout
Postfixdefaultextrarecipientlimit
Postfixlmtpdatadonetimeout
Postfixsmtpdatadonetimeout
Imaptimeout
Imappoptimeout
Imapmupdateserver
Imapenablepop
Imapenableimap
Imapdefaultpartition
Imapsrvtab Default = /etc/srvtab Imapimapauthlogin
Imapallowanonymouslogin
Mail serveradmin Commands
Command
Listing Mail Service Statistics
Viewing the Mail Service Logs
To display the log locations
Setting Up SSL for Mail Service
Generating a CSR and Creating a Keychain
120
Obtaining an SSL Certificate
Importing an SSL Certificate Into the Keychain
Setting Up SSL for Mail Service on a Headless Server
Creating a Passphrase File
Checking Web Service Status
Viewing Web Settings
Changing Settings Using serveradmin
Changing Web Settings
Serveradmin and Apache Settings
An appropriate value for the setting
Listing Hosted Sites
Web serveradmin Commands
Viewing Service Logs
To list sites
Cacherequestspersecond for
Viewing Service Statistics
Requestspersecond for
Cachethroughput for
Addsite.in File
Example Script for Adding a Website
Addsite File
Port
To run the script
Ipaddress
Root
Checking the Status of Dhcp Service
Dhcp Service
Starting and Stopping Dhcp Service
Viewing Dhcp Service Settings
Parameter dhcp Description
Changing Dhcp Service Settings
Dhcp Service Settings
Subnet Parameter
Dhcp Subnet Settings Array
About Subnet IDs
Netmask
Leasetimesecs
Netaddress
Netrangeend
WINSscopeid
Adding a Dhcp Subnet
To add a subnet
WINSsecondaryserver
Command Dhcpcommand=Description
List of Dhcp serveradmin Commands
Viewing the Dhcp Service Log
Location of the DNS service log
DNS Service
Starting and Stopping Firewall Service
Firewall Service
Listing DNS Service Statistics
Sample Output
Changing Firewall Service Settings
Checking the Status of Firewall Service
Viewing Firewall Service Settings
Firewall Service Settings
Adding Rules by Modifying ipfw.conf
Defining Firewall Rules
IPFilter Groups With Rules Array
Parameter ipfilter Description
Unmodified ipfw.conf file
Rule
Adding Rules Using serveradmin
Example
Firewall serveradmin Commands
IPFilter Rules Array
NAT Service
Parameter nat Description
Changing NAT Service Settings
NAT Service Settings
Parameter natDescription
NAT serveradmin Commands
Viewing the NAT Service Log
Checking the Status of VPN Service
VPN Service
Starting and Stopping VPN Service
Viewing VPN Service Settings
List of VPN Service Settings
Parameter vpnServers Description
PPPLCPEchoEnabled Com.name.ppp.l2tp
PPPDSACLEnabled Com.name.ppp.l2tp
PPPAuthenticatorPlugins Arrayindex n Com.name.ppp.l2tp
PPPVerboseLogging Com.name.ppp.l2tp
PPPLCPEchoEnabled Com.name.ppp.pptp
PPPDSACLEnabled Com.name.ppp.pptp
PPPAuthenticatorPlugins Arrayindexn Com.name.ppp.pptp
PPPCCPEnabled Com.name.ppp.pptp
VPN Service Log on this
List of VPN serveradmin Commands
Viewing the VPN Service Log
Be restarted. See Determining Whether a Service Needs to be
Failover Operation
IP Failover
Requirements
Hardware
To enable IP failover
Enabling IP Failover
Pre and Post Scripts
Configuring IP Failover
Notification Only
Enabling PPP Dial-In
Page
General Directory Tools
Testing Your Open Directory Configuration
Testing Open Directory Plugins
Modifying an Open Directory Node
Parameter dirserv Description
Registering URLs With Service Location Protocol SLP
Changing Open Directory Service Settings
Program Used to
Configuring Ldap
Standard Distribution Tools
Idle Rebinding Options
Delay Rebind
Idle Timeout
Additional Information About Ldap
Password Server
NetInfo
Kerberos and Single Sign On
Kdcsetup
Kerberosautoconfig
Tool in usr/sbin Description
Stopping Qtss Service
Checking Qtss Service Status
To list all Qtss service settings
Viewing Qtss Settings
Changing Qtss Settings
$ sudo serveradmin settings qtss
Qtss parameters you might change
Qtss Settings
Descriptions of Settings
Parameter qtss Description
Authenticate ModulesarrayidQTSSAdminModule
ModulesarrayidQTSSAdminModule
AdministratorGroup ModulesarrayidQTSSAdminModule
Enableremoteadmin ModulesarrayidQTSSAdminModule
Enablebroadcastpush ModulesarrayidQTSSReflectorModule
Disableoverbuffering ModulesarrayidQTSSReflectorModule
Enablebroadcastannounce ModulesarrayidQTSSReflectorModule
Serverdefaultauthorizationrealm
Qtss serveradmin Commands
Listing Current Connections
Viewing Qtss Service Statistics
To force Qtss to re-read its preferences
Error.log
Forcing Qtss to Re-Read its Preferences
Library/QuickTimeStreaming/Logs
Created
To set up /Sites/Streaming in older home directories
Preparing Older Home Directories for User Streaming
Page
Index
Kerberosautoconfig tool
Installer command 21 IP address
Kdcsetup utility 160 Kerberos
173
Used by ldapsearch 157 scripts
174
175
Top
Page
Image
Contents