freeipa install updates
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
# FreeIPA
|
# FreeIPA
|
||||||
|
|
||||||
- [FreeIPA](#freeipa)
|
- [FreeIPA](#freeipa)
|
||||||
|
- [Install](#install)
|
||||||
|
- [Backup and Restore](#backup-and-restore)
|
||||||
|
- [Add a Fedora Client](#add-a-fedora-client)
|
||||||
- [Notes](#notes)
|
- [Notes](#notes)
|
||||||
- [Quickstart Debugging Setup](#quickstart-debugging-setup)
|
- [Quickstart Debugging Setup](#quickstart-debugging-setup)
|
||||||
- [Quickstart Production Setup](#quickstart-production-setup)
|
- [Quickstart Production Setup](#quickstart-production-setup)
|
||||||
@@ -26,6 +29,65 @@ An AD Server.
|
|||||||
|
|
||||||
This guide assumes Fedora 40+.
|
This guide assumes Fedora 40+.
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
<https://www.freeipa.org/page/Quick_Start_Guide>
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Add firewall rules
|
||||||
|
firewall-cmd \
|
||||||
|
--permanent \
|
||||||
|
--add-service=http \
|
||||||
|
--add-service=https \
|
||||||
|
--add-service=ldap \
|
||||||
|
--add-service=ldaps
|
||||||
|
|
||||||
|
firewall-cmd --reload
|
||||||
|
|
||||||
|
# Download freeipa deps
|
||||||
|
dnf install freeipa-server
|
||||||
|
|
||||||
|
# Install and setup freeipa
|
||||||
|
# Make sure your directory password is less then 64 characters long.
|
||||||
|
# Any longer and you will get an OpenSSL error when reading /root/ca-agent.p12.
|
||||||
|
ipa-server-install
|
||||||
|
|
||||||
|
# Login as admin
|
||||||
|
kinit admin
|
||||||
|
|
||||||
|
# Add a user
|
||||||
|
ipa user-add
|
||||||
|
ipa passwd ducoterra
|
||||||
|
|
||||||
|
# Uninstall
|
||||||
|
ipa-server-install --uninstall
|
||||||
|
```
|
||||||
|
|
||||||
|
## Backup and Restore
|
||||||
|
|
||||||
|
When restoring a backup the server must have the same:
|
||||||
|
|
||||||
|
1. Hostname
|
||||||
|
2. IP address
|
||||||
|
3. FreeIPA version
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Create a backup
|
||||||
|
ipa-backup
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Restore a backup
|
||||||
|
ipa-restore /path/to/backup
|
||||||
|
```
|
||||||
|
|
||||||
|
## Add a Fedora Client
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf install ipa-client sssd oddjob oddjob-mkhomedir adcli
|
||||||
|
sudo ipa-client-install --mkhomedir
|
||||||
|
```
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
For yubikey manager appimage extend app not responding timeout to 60 seconds
|
For yubikey manager appimage extend app not responding timeout to 60 seconds
|
||||||
|
|||||||
Reference in New Issue
Block a user