Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Linux, and Gawk. How can i get something in this format since i can post access to the directory Use man 5 passwd~ for

Using Linux, and Gawk. How can i get something in this format since i can post access to the directory
image text in transcribed
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 (ook at the shell) Output: Username UID GID Home Directory Shell Notes /bin/bash sbinologin sbinologin /sbinologin /sbinologin bin/sync /sbin/shutdown /sbin/halt /sbinotogin /sbinotogin /sbinotogin /sbinologin sbinologin sbinologin /sbinotogin /sbinologin /sbinologin 0 0 /root bin 1 1/bin bin 22 /sbin 3 4 /var/adm 4 7 /var/spoot/lpd 5 0 /sbin 6 /sbin sync shutdown halt mail operator shutdowr halt mait operator games FTP User 7 /sbin 8 12 /var/spool/mail 11 /root 12 100 /usr/games 14 50 /var/ftp ftp 192 192 81 81 / systend Network Managenent Systen nessage bus User for polkitd Account used by the trousers package to sandbox the tesd daemon systemd-network polkitd tss postfix chrony sshd student 99 997/ 59 59 /devull 89 89 /var/spool/postfix /sbinologin sbinologin /sbinologin /bin/bash /bin/false sbinologin 998 996 /var/lib/chrony Privilege-separated SSH Student User 74 74 /var/empty/sshd 1000 1068 /home/student 997 1 /var/run/vboxadd 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Make A Database In Historical Studies

Authors: Tiago Luis Gil

1st Edition

3030782409, 978-3030782405

More Books

Students also viewed these Databases questions