Lab 3. Authentication
Lab 3. Authentication
Authentication
Submission:
You will compose a lab report that documents each step you take, including screenshots to illustrate the
effects of commands you type, and describing your observations. Simply attaching code without any
explanation will not receive credits
1. Password policies
a) Linux:Ubuntu
$sudo vi /etc/pam.d/common-password
Options:
retry: No. of consecutive times a user can enter an incorrect password.
minlen: Minimum length of password
difok: No. of character that can be similar to the old password
lcredit: Min No. of lowercase letters
ucredit: Min No. of uppercase letters
dcredit: Min No. of digits
ocredit: Min No. of symbols
reject_username: Rejects the password containing the user name
enforce_for_root: Also enforce the policy for the root user
Example:
$sudo vi /etc/login.defs
b) MS Windows:
Create an account and test some functionalities:
- Minimum the password length
- Strong password
- Account lockout threshold
Step 2. Upgrade Server to domain controller (HCMUTE.VN) & create an account (testuser)
Network topology