From the course: LPI Linux Essentials (010-160) Cert Prep
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Account security - Linux Tutorial
From the course: LPI Linux Essentials (010-160) Cert Prep
Account security
- So we've talked about the fact that the user account is protected with a password. In the past, the /etc/password file actually held the password information. And since it must be readable by all users, storing your password here was really risky, because if I had the Jason Dion and then password right next to it, you could just go in and read my password. So, to correct this, we have moved the passwords out of that password file and into the shadow file. Ordinary users can't read the shadow file, because this file associates passwords stored using what's known as a salted hash. Now, a salted hash uses a one-way mathematical process with additional random input to produce what looks like nonsense or gibberish to us humans. When the user types a password, it's actually salted and hashed, and if that salted hash matches what's in the shadow file, you get access to the system. Now, a typical etc/ shadow file is going to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understanding user accounts4m 15s
-
(Locked)
Account security5m 15s
-
(Locked)
Understanding groups2m 43s
-
(Locked)
Using account tools4m 30s
-
(Locked)
Creating accounts from the shell5m 59s
-
(Locked)
Modifying and deleting accounts12m 3s
-
(Locked)
Managing groups6m
-
(Locked)
Working as root6m 2s
-
(Locked)
-
-