Manuals
/
Apple
/
Computer Equipment
/
Server
Apple
oxs
manual
Models:
oxs
1
46
175
175
Download
175 pages
24.88 Kb
43
44
45
46
47
48
49
50
Install
Password
Default Settings
Postfixdeliverlockdelay
Login
$ sudo serveradmin list
Disconnecting AFP Users
Configuring Ldap
Checking for Disk Problems
GuestAccess
Page 46
Image 46
Page 45
Page 47
Page 46
Image 46
Page 45
Page 47
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
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
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
Viewing or Changing the System Date
Viewing or Changing the System Time Zone
Viewing or Changing Automatic Restart Settings
Energy Saver Settings
Viewing or Changing Sleep Settings
Viewing or Changing Network Time Server Usage
Startup Disk Settings
Power Management Settings
Viewing or Changing the Startup Disk
Viewing or Changing Remote Login Settings
Sharing Settings
International 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
Creating or Deleting Port Configurations
Network Port Configurations
Viewing or Changing Media Settings
Activating Port Configurations
Changing Configuration Precedence
TCP/IP Settings
Changing a Server’s IP Address
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
Mounting Volumes
Checking for Disk Problems
Unmounting 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
To create a user
To create a user with a specific UID and home directory
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
Attribute
User Attributes
Format Sample values
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
To create a share point
Creating a Share Point
Examples
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
To cancel a disconnect
Canceling a User Disconnect
Value Description
Listing AFP Service Statistics
To list samples
Checking NFS Service Status
NFS Service
Starting and Stopping NFS Service
Viewing NFS Settings
FTP Service
FTP Settings
Changing FTP Settings
Parameter ftp
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
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
Var/log/samba/log.smbd
Viewing SMB Service Logs
Smb-log
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
Listing Queues
Print Service serveradmin Commands
Pausing a Queue
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
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
Mail Service Settings
Changing Mail Service Settings
Parameter mail Description
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 File
Example Script for Adding a Website
Addsite.in 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
Dhcp Service Settings
Changing Dhcp Service Settings
Parameter dhcp Description
About Subnet IDs
Dhcp Subnet Settings Array
Subnet Parameter
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
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
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
Notification Only
Configuring IP Failover
Pre and Post Scripts
Enabling PPP Dial-In
Page
General Directory Tools
Testing Your Open Directory Configuration
Testing Open Directory Plugins
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
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
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