You are on page 1of 2
=XAMTOPICS - Expert Verified, Online, Free, Topic 1 - Single Topic SIMULATION Configure yout Host Name, IP Address, Gateway and DNS. Host name: station domain40example.com Jete/sysconfiginetwork hostnamesabe.com hostname abe.com IP Address:172.24.40.40/26 Gcateway172.24.40.1- 0NS:172.24.40.1 ‘Correct Answer: See explanation below. 8. /etc/syscofiginetwork scrips! tls '# vimifetg-tho (Configure IP Address, Gateway and ONS) IPADDR=172.24.40.40 DNst=172.26.40.1- vim fet/sysconiginetwork (Configure Host Name) HOSTNAME® station domain40,example.com on, Graphical Interfaces: ‘system Preference Network Connections (Configure I Adress, Gateway and DNS) Vim fete/sysconfiginetwork (Configure Host Name) SIMULATION ‘Add 3 users: harry natasha, tom. The requirements: The Aditional group ofthe two users: harry, Natasha s the admin group. The user: toni login shel shouldbe noninteractive, Correct Answer: See explanation balow # useradd 6 admin harry # useradd 6 admin natasha # useradd + /sbin/nologin tom id harry Natasha (Show additional group) cat etc/passwd (Show the login shell) on, 4 system-configuusers SIMULATION Create a catalog under /bome named admins. its respective group is requested tobe the admin group. The group users could read and wie, while other users are not allowed to access it.The files created by users from the same group should also be the admin group. Correet Answer: See explanation below fed /home! 4 mil admins / # chown admin admins/ 4 chmod 770 admins/ 4 chmod ges admins/ SIMULATION Configure a task: plan to un echo hello command at 14:23 everyday. Correet Answer: See explanation below. ‘which echo # rontab-e 73 14*** /bin/echo hello # crontab (verity)

You might also like