Linux Domain Join Lab - Zacham17/my-tech-journal GitHub Wiki
Brief Summary
In this lab, I used Realmd on my mail01 Linux VM to connect it to my domain, allowing domain users to logon to the system.
How To Set up Realmd on CentOS 7
- To install realmd on your CentOS 7 system, run the command
sudo yum install realmd
- After that command has successfully completed you can use the command
realm join DOMAINNAME
to join your domain(Replace DOMAINNAME with your actual domain name Ex. domain.local)- NOTE: You will be asked for the administrator password, so make sure you know it.
- After running this command you can run the command,
realm list
to see if you have connected to the domain and also what package it requires to be installed. - You can run the required packages using the
yum
command.- For example, if you need to install sssd, adcli, oddjob, samba-common-tools, and oddjob-mkhomedir, you can type the command
yum install sssd adcli oddjob samba-common-tools oddjob-mkhomedir
- For example, if you need to install sssd, adcli, oddjob, samba-common-tools, and oddjob-mkhomedir, you can type the command
How to log into a domain user account on the linux system.
The following will explain the method that I used to login to a domain user account on
- To log into a domain user account, first logon as a local user on the linux system.
- Then use the
su -
command to switch to a domain user using the following format:su - DOMAIN\\USER
and the enter the user's password then prompted- Ex:
su ZACHARY\\zmorris
- Ex:
Good Resources I used:
Below are links to resources that I used to help me complete this lab.