Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use -man 5 passwd- for details about the -etc/passwd file Pretty print the file and then print a report at the end. Your report should
Use -man 5 passwd- for details about the -etc/passwd file Pretty print the file and then print a report at the end. Your report should include: - How many users total on the system - Which users are allowed to login (look at the shell) Output: UID GID Home Directory Username root daemon otes root daemon Shell 0 0/root 1 /bin 2 /sbin /bin/bash /sbinologin /sbinologin /sbinologin /sbinologin /bin/sync /sbin/shutdown /sbin/halt /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin adm 3 4 /var/adm adm 4 7 /var/spool/lpd 5 /sbin sync shutdown halt mail operator games ftp nobody systemd-network dbus polkitd tss postfix chrony sshd student boxadd unbound sync shutdown halt mail operator games FTP User Nobody systemd Network Management System message bus User for polkitd Account used by the trousers package to sandbox the tcsd daemon 6 O /sbin /sbin 7 8 12 /var/spool/mail 11 ?/root 12 109 /usr/games 1450 /var/ftp 99 99 / 192 192 / 81 81 / 999 997 / 59 59/devull 89 89/var/spool/postfix /sbinologin /sbinologin /sbinologin /bin/bash /bin/false /sbinologin 998 996 /var/lib/chrony 7474 /var/empty/sshd Privilege-separated SSH Student User 1000 1000/home/student 1 /var/run/vboxadd 997 996 994 /etc/unbound Unbound DNS resolver There are 23 users on this system The following users can login: shutdown, halt, vboxadd, student, sync, root, Use -man 5 passwd- for details about the -etc/passwd file Pretty print the file and then print a report at the end. Your report should include: - How many users total on the system - Which users are allowed to login (look at the shell) Output: UID GID Home Directory Username root daemon otes root daemon Shell 0 0/root 1 /bin 2 /sbin /bin/bash /sbinologin /sbinologin /sbinologin /sbinologin /bin/sync /sbin/shutdown /sbin/halt /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin /sbinologin adm 3 4 /var/adm adm 4 7 /var/spool/lpd 5 /sbin sync shutdown halt mail operator games ftp nobody systemd-network dbus polkitd tss postfix chrony sshd student boxadd unbound sync shutdown halt mail operator games FTP User Nobody systemd Network Management System message bus User for polkitd Account used by the trousers package to sandbox the tcsd daemon 6 O /sbin /sbin 7 8 12 /var/spool/mail 11 ?/root 12 109 /usr/games 1450 /var/ftp 99 99 / 192 192 / 81 81 / 999 997 / 59 59/devull 89 89/var/spool/postfix /sbinologin /sbinologin /sbinologin /bin/bash /bin/false /sbinologin 998 996 /var/lib/chrony 7474 /var/empty/sshd Privilege-separated SSH Student User 1000 1000/home/student 1 /var/run/vboxadd 997 996 994 /etc/unbound Unbound DNS resolver There are 23 users on this system The following users can login: shutdown, halt, vboxadd, student, sync, root
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started