Project 2 of 3 in the Linux System Management series
Focus: Shadow file, user states, password locks, ulimit, and file ops
- Understand Linux user authentication and shadow file structure
- Analyze locked, disabled, and unset passwords in
/etc/shadow - Practice safe file operations using
mv -uandmkdir -p - Configure and verify user limits with
ulimit
linux-system-management-2/
βββ README.md
βββ outputs/
β βββ 01a-shadow-passwd-d.txt
β βββ 01b-shadow-passwd-l.txt
β βββ 02-ulimit-output.txt
β βββ 02b-ulimit-focused.txt
β βββ 02c-ulimit-test-dd.txt
β βββ 03-mv-test-output.txt
β βββ 04-mkdir-test-output.txt
βββ screenshots/
βββ 01a-passwd-d-shadow.png
βββ 01b-passwd-l-shadow.png
βββ 02-ulimit-output.png
βββ 02b-ulimit-focused.png
βββ 02c-ulimit-test-dd.png
βββ 03-mv-test-output.png
βββ 04-mkdir-test-output.png
# Create user and remove password
sudo useradd testuser1
sudo passwd -d testuser1
sudo grep testuser1 /etc/shadow
# Lock the user account
sudo passwd -l testuser1
sudo grep testuser1 /etc/shadowulimit -a
ulimit -u
ulimit -nTo simulate a file size enforcement scenario, I temporarily limited the shell's max file size:
ulimit -f 100
dd if=/dev/zero of=testfile bs=1M count=2β This triggered the expected failure:
File size limit exceeded (core dumped)
Restored default limit afterward:
ulimit -f unlimited
rm -f testfileecho "I am older" > oldfile.txt
sleep 2
echo "I am newer" > newfile.txt
mv -u newfile.txt oldfile.txt
cat oldfile.txtβ Confirmed that the content of
oldfile.txtwas replaced only becausenewfile.txtwas newer.
mkdir -p /tmp/testdir1/testdir2/testdir3
ls -R /tmp/testdir1β Demonstrated ability to create nested directory trees in a single command.
This project reinforces Linux+ exam skills around user account management, shadow file analysis, and essential file operations.
Screenshots and command outputs offer a complete trace of each concept in practice.
β linux-system-management-3
Focus: SSH, PXE, DNS, name resolution, and network boot behavior






