Creating an LDAP user is fairly easy once an LDIF template is created. With the supplied template, an administrator could make copies and modify a couple of lines and load it to create new users. You can also use the ldappasswd command to give users passwords if you're using LDAP for authentication.
- [Narrator] We need to create a user now.…Once again, ensure that you're in the chapter two…Exercise Files directory in your rhhost1 VM.…For me, this is the /home/user1…/ExerciseFiles/Ch 02 directory.…The user we create here is the person…who will authenticate from rhhost2.…I've provided a file called rhuser.ldif…for creating this user.…For this video, we will load it directly,…but you can use it as a template…to create other users just by editing it.…
Before we load it, let's take a look at the contents.…Type in cat rhuser.ldif and hit Enter.…Here we can see the user specifics…such as user ID, user name, home directory, and so on.…Now let's load this file.…Type in clear and then type in…sudo ldapadd -x -W -D…"cn=ldapadm,dc=localnet,dc=com"…- f rhuser.ldif and hit Enter.…
Type in your sudo password if prompted.…And then type in your LDAP password if prompted.…Our user named rhuser has been added to the directory.…Now let's give it a password.…For this exercise, we're going to give…the rhuser a password of password123.…
- Network Time Services (NTP)
- How NTP works for authentication
- Configuring the chrony server and chrony client
- Setting up an LDAP server and LDAP client
- Creating a Kerberos database
- Configuring Kerberos client authentication
Skill Level Intermediate
RHCE Cert Prep: Networking and SSHwith Grant McWilliams1h 53m Appropriate for all
Linux: Package Management for CentOSwith Grant McWilliams1h 56m Intermediate
1. Network Time Services
2. Setting Up an LDAP Server
3. Setting Up an LDAP Client
4. Authentication Using Kerberos
Next steps1m 10s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.