Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying CentOS System Administration Essentials
  • Table Of Contents Toc
CentOS System Administration Essentials

CentOS System Administration Essentials

By : Andrew Mallett
4.2 (13)
close
close
CentOS System Administration Essentials

CentOS System Administration Essentials

4.2 (13)
By: Andrew Mallett

Overview of this book

If you are a Linux administrator who is looking to gain knowledge that differentiates yourself from the crowd, then this is the book for you. Beginners who have a keen interest to learn more about Linux administration will also progress quickly with this resourceful learning guide.
Table of Contents (13 chapters)
close
close
12
Index

LDAP authentication


We will use an additional CentOS 6.5 server on which we will configure the OpenLDAP client for authentication so that we make use of the central account database that we established on the 389-ds server.

From the client machine, we will need to install the following packages:

  • openldap

  • openldap-client

  • nss-pam-ldapd

This will be managed through the standard yum repositories:

# yum install openldap openldap-clients  nss-pam-ldapd

Once this is installed, we will make one change to the /etc/sysconfig/authconfig file. We will edit the line that reads FORCELEGACY=no to read FORCELEGACY=yes. This change will allow us to use LDAP rather than LDAPS. Although it would be more secure to use LDAPS as the information encrypts data exchange, using LDAP, we alleviate the need to create certificates for the server, which is adequate on a local network.

To configure the authentication, we can use the authconfig command:

# authconfig --enableldap --enableldapauth --enablemkhomedir \
--enablemkhomedir...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
CentOS System Administration Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon