April 2016
Beginner to intermediate
276 pages
5h 32m
English
A major role of a system administrator is to configure and manage users and groups on a Linux system. It also involves the task of checking the login capabilities of all users.
All the steps given below have been tried on an Ubuntu system; however, you can also follow these on any other Linux distribution.
Here we will discuss how the login capabilities of users can be restricted on a Linux system:
/etc/passwd file. Let's check the details of an account, sslh as an example, in the /etc/passwd file, as shown:cat /etc/passwd | grep sslh