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