Working with FreeIPA

1 hour
  • 4 Learning Objectives

About this Hands-on Lab

An important part of security is identifying and authenticating users. FreeIPA is a technology that does both using a suite of various technologies. In this hands-on lab, we will work through setting up a basic Kerberos realm and directory using FreeIPA. This is an important skill for the LPIC3-303 and other high-level certifications exams.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Configure the host file and hostname for `ipa.example.com`.
  • Configure /etc/hosts to contain the following:
    10.0.1.100 ipa.example.com
  • Run hostnamectl set-hostname ipa.example.com.
Configure a base IPA domain with default settings.
  • Run the command: ipa-server-install
  • Provide passwords (make note of the passwords for later) where prompted and accept defaults except for
    Continue to configure the system with these values? [no]:

    • Respond yes
Create and verify a new session for `admin@EXAMPLE.COM`.

Run the following commands:

  • kinit admin
  • klist
Create the user `jsmith` with the first name `john` and last name `smith` in directory services.

Run the following command: ipa user-add jsmith --first john --last smith

Additional Resources

As your company's corporate network starts to grow, you have recognized that you need a central identity repository and authentication system. You decide that proofing out the technologies around directory and authentication services and FreeIPA is the way to do it. You need to create an example domain using FreeIPA and work through the user creation process to fully vet the technology stack.

Summary tasks list:

  • Configure the host file and hostname for ipa.example.com.

  • Configure a base IPA domain with default settings.

  • Create and verify a new session for admin@EXAMPLE.COM.

  • Create the user jsmith with first name john and last name smith in directory services.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?