mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 08:51:50 -06:00
51907d5bb8
Forward policy defaults to 'first' if no IP address belonging to a private or reserved ranges is detected on local interfaces (RFC 6303). Defaults to only if a private IP address is detected. This prevents problems with BIND automatic empty zones because conflicting zones cannot be disabled unless forwarding policy == only. https://fedorahosted.org/freeipa/ticket/5710 Reviewed-By: Martin Basti <mbasti@redhat.com>
211 lines
9.2 KiB
Groff
211 lines
9.2 KiB
Groff
.\" A man page for ipa-server-install
|
|
.\" Copyright (C) 2008 Red Hat, Inc.
|
|
.\"
|
|
.\" This program is free software; you can redistribute it and/or modify
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
.\" the Free Software Foundation, either version 3 of the License, or
|
|
.\" (at your option) any later version.
|
|
.\"
|
|
.\" This program is distributed in the hope that it will be useful, but
|
|
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
.\" General Public License for more details.
|
|
.\"
|
|
.\" You should have received a copy of the GNU General Public License
|
|
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
.\"
|
|
.\" Author: Rob Crittenden <rcritten@redhat.com>
|
|
.\"
|
|
.TH "ipa-server-install" "1" "Jun 28 2012" "FreeIPA" "FreeIPA Manual Pages"
|
|
.SH "NAME"
|
|
ipa\-server\-install \- Configure an IPA server
|
|
.SH "SYNOPSIS"
|
|
ipa\-server\-install [\fIOPTION\fR]...
|
|
.SH "DESCRIPTION"
|
|
Configures the services needed by an IPA server. This includes setting up a Kerberos Key Distribution Center (KDC) and a Kadmin daemon with an LDAP back\-end, configuring Apache, configuring NTP and optionally configuring and starting an LDAP-backed DNS server. By default a dogtag\-based CA will be configured to issue server certificates.
|
|
|
|
.SH "OPTIONS"
|
|
.SS "BASIC OPTIONS"
|
|
.TP
|
|
\fB\-r\fR \fIREALM_NAME\fR, \fB\-\-realm\fR=\fIREALM_NAME\fR
|
|
The Kerberos realm name for the IPA server. You will not be able to estabilish trust with Active Directory unless the realm name is uppercased domain name.
|
|
.TP
|
|
\fB\-n\fR \fIDOMAIN_NAME\fR, \fB\-\-domain\fR=\fIDOMAIN_NAME\fR
|
|
Your DNS domain name
|
|
.TP
|
|
\fB\-p\fR \fIDM_PASSWORD\fR, \fB\-\-ds\-password\fR=\fIDM_PASSWORD\fR
|
|
The password to be used by the Directory Server for the Directory Manager user
|
|
.TP
|
|
\fB\-a\fR \fIADMIN_PASSWORD\fR, \fB\-\-admin\-password\fR=\fIADMIN_PASSWORD\fR
|
|
The password for the IPA admin user
|
|
.TP
|
|
\fB\-\-mkhomedir\fR
|
|
Create home directories for users on their first login
|
|
.TP
|
|
\fB\-\-hostname\fR=\fIHOST_NAME\fR
|
|
The fully\-qualified DNS name of this server. If the hostname does not match system hostname, the system hostname will be updated accordingly to prevent service failures.
|
|
.TP
|
|
\fB\-\-ip\-address\fR=\fIIP_ADDRESS\fR
|
|
The IP address of this server. If this address does not match the address the host resolves to and \-\-setup\-dns is not selected the installation will fail. If the server hostname is not resolvable, a record for the hostname and IP_ADDRESS is added to /etc/hosts.
|
|
This this option can be used multiple times to specify more IP addresses of the server (e.g. multihomed and/or dualstacked server).
|
|
.TP
|
|
\fB\-N\fR, \fB\-\-no\-ntp\fR
|
|
Do not configure NTP
|
|
.TP
|
|
\fB\-\-idstart\fR=\fIIDSTART\fR
|
|
The starting user and group id number (default random)
|
|
.TP
|
|
\fB\-\-idmax\fR=\fIIDMAX\fR
|
|
The maximum user and group id number (default: idstart+199999). If set to zero, the default value will be used.
|
|
.TP
|
|
\fB\-\-no_hbac_allow\fR
|
|
Don't install allow_all HBAC rule. This rule lets any user from any host access any service on any other host. It is expected that users will remove this rule before moving to production.
|
|
.TP
|
|
\fB\-\-ignore-topology-disconnect\fR
|
|
Ignore errors reported when IPA server uninstall would lead to disconnected topology. This option can be used only when domain level is 1 or more.
|
|
.TP
|
|
\fB\-\-no\-ui\-redirect\fR
|
|
Do not automatically redirect to the Web UI.
|
|
.TP
|
|
\fB\-\-ssh\-trust\-dns\fR
|
|
Configure OpenSSH client to trust DNS SSHFP records.
|
|
.TP
|
|
\fB\-\-no\-ssh\fR
|
|
Do not configure OpenSSH client.
|
|
.TP
|
|
\fB\-\-no\-sshd\fR
|
|
Do not configure OpenSSH server.
|
|
.TP
|
|
\fB\-d\fR, \fB\-\-debug\fR
|
|
Enable debug logging when more verbose output is needed
|
|
.TP
|
|
\fB\-U\fR, \fB\-\-unattended\fR
|
|
An unattended installation that will never prompt for user input
|
|
.TP
|
|
\fB\-\-dirsrv\-config\-file\fR
|
|
The path to LDIF file that will be used to modify configuration of dse.ldif during installation of the directory server instance
|
|
|
|
.SS "CERTIFICATE SYSTEM OPTIONS"
|
|
.TP
|
|
\fB\-\-external\-ca\fR
|
|
Generate a CSR for the IPA CA certificate to be signed by an external CA.
|
|
.TP
|
|
\fB\-\-external\-ca\-type\fR=\fITYPE\fR
|
|
Type of the external CA. Possible values are "generic", "ms-cs". Default value is "generic". Use "ms-cs" to include template name required by Microsoft Certificate Services (MS CS) in the generated CSR.
|
|
.TP
|
|
\fB\-\-external\-cert\-file\fR=\fIFILE\fR
|
|
File containing the IPA CA certificate and the external CA certificate chain. The file is accepted in PEM and DER certificate and PKCS#7 certificate chain formats. This option may be used multiple times.
|
|
.TP
|
|
\fB\-\-no\-pkinit\fR
|
|
Disables pkinit setup steps
|
|
.TP
|
|
\fB\-\-dirsrv\-cert\-file\fR=\fIFILE\fR
|
|
File containing the Directory Server SSL certificate and private key. The files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. This option may be used multiple times.
|
|
.TP
|
|
\fB\-\-http\-cert\-file\fR=\fIFILE\fR
|
|
File containing the Apache Server SSL certificate and private key. The files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. This option may be used multiple times.
|
|
.TP
|
|
\fB\-\-pkinit\-cert\-file\fR=\fIFILE\fR
|
|
File containing the Kerberos KDC SSL certificate and private key. The files are accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and raw private key and PKCS#12 formats. This option may be used multiple times.
|
|
.TP
|
|
\fB\-\-dirsrv\-pin\fR=\fIPIN\fR
|
|
The password to unlock the Directory Server private key
|
|
.TP
|
|
\fB\-\-http\-pin\fR=\fIPIN\fR
|
|
The password to unlock the Apache Server private key
|
|
.TP
|
|
\fB\-\-pkinit\-pin\fR=\fIPIN\fR
|
|
The password to unlock the Kerberos KDC private key
|
|
.TP
|
|
\fB\-\-dirsrv\-cert\-name\fR=\fINAME\fR
|
|
Name of the Directory Server SSL certificate to install
|
|
.TP
|
|
\fB\-\-http\-cert\-name\fR=\fINAME\fR
|
|
Name of the Apache Server SSL certificate to install
|
|
.TP
|
|
\fB\-\-pkinit\-cert\-name\fR=\fINAME\fR
|
|
Name of the Kerberos KDC SSL certificate to install
|
|
.TP
|
|
\fB\-\-ca\-cert\-file\fR=\fIFILE\fR
|
|
File containing the CA certificate of the CA which issued the Directory Server, Apache Server and Kerberos KDC certificates. The file is accepted in PEM and DER certificate and PKCS#7 certificate chain formats. This option may be used multiple times. Use this option if the CA certificate is not present in the certificate files.
|
|
.TP
|
|
\fB\-\-subject\fR=\fISUBJECT\fR
|
|
The certificate subject base (default O=REALM.NAME)
|
|
.TP
|
|
\fB\-\-ca\-signing\-algorithm\fR=\fIALGORITHM\fR
|
|
Signing algorithm of the IPA CA certificate. Possible values are SHA1withRSA, SHA256withRSA, SHA512withRSA. Default value is SHA256withRSA. Use this option with --external-ca if the external CA does not support the default signing algorithm.
|
|
|
|
.SS "DNS OPTIONS"
|
|
.TP
|
|
\fB\-\-setup\-dns\fR
|
|
Generate a DNS zone if it does not exist already and configure the DNS server.
|
|
This option requires that you either specify at least one DNS forwarder through
|
|
the \fB\-\-forwarder\fR option or use the \fB\-\-no\-forwarders\fR option.
|
|
|
|
Note that you can set up a DNS at any time after the initial IPA server install by running
|
|
.B ipa-dns-install
|
|
(see
|
|
.BR ipa-dns-install (1)).
|
|
.TP
|
|
\fB\-\-forwarder\fR=\fIIP_ADDRESS\fR
|
|
Add a DNS forwarder to the DNS configuration. You can use this option multiple
|
|
times to specify more forwarders, but at least one must be provided, unless
|
|
the \fB\-\-no\-forwarders\fR option is specified.
|
|
.TP
|
|
\fB\-\-no\-forwarders\fR
|
|
Do not add any DNS forwarders. Root DNS servers will be used instead.
|
|
.TP
|
|
\fB\-\-auto\-forwarders\fR
|
|
Add DNS forwarders configured in /etc/resolv.conf to the list of forwarders used by IPA DNS.
|
|
.TP
|
|
\fB\-\-forward\-policy\fR=\fIfirst|only\fR
|
|
DNS forwarding policy for global forwarders specified using other options.
|
|
Defaults to first if no IP address belonging to a private or reserved ranges is
|
|
detected on local interfaces (RFC 6303). Defaults to only if a private
|
|
IP address is detected.
|
|
.TP
|
|
\fB\-\-reverse\-zone\fR=\fIREVERSE_ZONE\fR
|
|
The reverse DNS zone to use. This option can be used multiple times to specify multiple reverse zones.
|
|
.TP
|
|
\fB\-\-no\-reverse\fR
|
|
Do not create reverse DNS zone
|
|
.TP
|
|
\fB\-\-auto\-reverse\fR
|
|
Try to resolve reverse records and reverse zones for server IP addresses and if neither is resolvable creates these reverse zones.
|
|
.TP
|
|
\fB\-\-zonemgr\fR
|
|
The e\-mail address of the DNS zone manager. Defaults to hostmaster@DOMAIN
|
|
.TP
|
|
\fB\-\-no\-host\-dns\fR
|
|
Do not use DNS for hostname lookup during installation
|
|
.TP
|
|
\fB\-\-no\-dns\-sshfp\fR
|
|
Do not automatically create DNS SSHFP records.
|
|
.TP
|
|
\fB\-\-no\-dnssec\-validation\fR
|
|
Disable DNSSEC validation on this server.
|
|
.TP
|
|
\fB\-\-allow\-zone\-overlap\fR
|
|
Allow creatin of (reverse) zone even if the zone is already resolvable. Using this option is discouraged as it result in later problems with domain name resolution.
|
|
|
|
.SS "UNINSTALL OPTIONS"
|
|
.TP
|
|
\fB\-\-uninstall\fR
|
|
Uninstall an existing IPA installation
|
|
.TP
|
|
\fB\-U\fR, \fB\-\-unattended\fR
|
|
An unattended uninstallation that will never prompt for user input
|
|
|
|
.SH "DEPRECATED OPTIONS"
|
|
.TP
|
|
\fB\-P\fR \fIMASTER_PASSWORD\fR, \fB\-\-master\-password\fR=\fIMASTER_PASSWORD\fR
|
|
The kerberos master password (normally autogenerated).
|
|
|
|
.SH "EXIT STATUS"
|
|
0 if the (un)installation was successful
|
|
|
|
1 if an error occurred
|
|
|
|
.SH "SEE ALSO"
|
|
.BR ipa-dns-install (1)
|