Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

I got help with a hw question but when I tried typing in the code into Linux I keep getting errors so it wont run.

image text in transcribed
I got help with a hw question but when I tried typing in the code into Linux I keep getting errors so it wont run.
echo press 1: Add a user with Password cho press 2: Add a group without a password." echo press 3: Add a user to group." ead Choice case $Choice in read -p "Enter usernameusername read -s -p "Enter password,typing is invisible:" assword echo echo "Wait a while for encryption egrep username tc/passud>/deu11 check if the user exists if $? -eq then echo "Susername exists!" exit 1 else not creating a user 'usergroups" 67L, 1427C writtern Isuli0loca lhost /usergroups /usergroups ine 58: unexpected EOF while looking for matching" usergroups: lne 68: syntax error: unexpected end of file [suli01oca lhost 1S

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions