Pluggable authentication modules
Pluggable authentication modules (PAM) is one of the ancient corners that most system administrators don't get into. However, PAM modules play a very important role in the background.
In this section, we will understand in detail about PAM as well as implement PAM modules to achieve certain use cases related to security.
Let's understand PAM with the following use cases of Team Screen application and file sharing application in the following sections.
Team Screen application
There is an application named Team Screen that allows users to access Linux workstations via GUI. In order to do so, the application requires an authentication-related functionality. Thus, any user who wants to access the application must authenticate itself, typically, via username and password.
So, now, the developers of the Team Screen application need to first write a stable code for the application itself, and then they have to write the entire authentication related code.
So, the developers...