As discussed earlier every Linux system account needs a username and
password. Passwords, as we all know, are prone to attacks and are the first
thing that can be tried to exploit. Passwords can give one-way access to all
the sensitive information for hackers.
Linux usually holds all passwords in two files. They are
1) /etc/passwor d
2) /etc/shadow
The first one stores the password of the current user and can be easily read
by the user.
Whereas the second one is more sensible and contains passwords of all the
users in the system. This can be only read by the root user and will not be
visible for normal users.
In the next section, we will describe various commands that can help us to
modify user groups. Follow along: