Find Jobs
Hire Freelancers

CentOS User Creation Code Development

$30-250 USD

Dokončeno
Zveřejněno před 24 dny

$30-250 USD

Zaplaceno při doručení
IA 212 – Project (20 pts total) Please, submit the following items to Canvas. Screenshots for executing questions (#1-6) (2 points) Upload script code (question #7) as a text file with comments explain what the commands are doing (2 points) Screenshots for running script successfully with several cases (1 points) a. Refer to the example towards the bottom of the instructions 1) Create three users with different passwords using root user. (3 points) 2) Add two users of them to the wheel group. A. Please, explain the difference between the users on the wheel group and the one which is not in the wheel group (1 point) 3) Add the remaining user to the group Typical_Users. A. If the group does not exist, you should create it (1 point) 4) Create a folder and name it as Privilege folder. (1 point) 5) Give the users on the wheel group the full permissions rights (read, write and execute) on Privilege folder. (1 point) 6) For the user part of Typical_Users assign read permissions on the Privilege folder. (1 point) 7) Write a shell script which is going to do the following: A. Keep asking the user to enter the user name through the terminal until “root” user name entered then the script will be terminated (3 points) • Hint: use while B. The shell script will pass the value of user name to a function (written inside the same script) which is going to do the following: • Add the user to the system (1 point) • Check if the user addition failed and print a message “Useradd failed” Hint (use "$?" -ne "0" as condition) -ne means not equal Then exit the function with value of 1 using (return 1) Note (return will exit from the function while exit will quit the shill script) • Change the user password using passwd command (1 point) • Check if the password changed is failed and print a message “Setting password failed” Hint (use "$?" -ne "0" as condition) (1 point) Then exit the function with value of 2 using (return 2) Finally, check the value returned by the function using $? If the value is 1 print “Something went wrong with useradd” If the value is 2 print “Something went wrong with passwd” Otherwise print “added to the system.” (1 point)
IČ projektu: 38019661

O projektu

5 nabídky
Vzdálený projekt
Aktivní před 24 dny

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
$0 USD v 1 dni
5,0 (102 recenze)
6,2
6,2
5 freelanceři nabízejí v průměru $170 USD za tuto práci
Avatar uživatele
Hello there, The skills Shell Script, UNIX, Linux, Ubuntu and CentOs u mentioned on the project fall under my level of expertise so i can surely help u with it. Please have a look at my profile: https://www.freelancer.com/u/ayesha0124 Looking forward to ur response. Ayesha
$250 USD v 7 dnech
5,0 (4 recenze)
4,9
4,9
Avatar uživatele
Hi, Looking for an experienced Unix/Linux administrator to help manage and maintain your systems? Look no further! With over 5 years of experience in the field, I have a strong background in troubleshooting and optimizing Unix/Linux systems for maximum performance and uptime. Whether you need assistance with system updates, security patches, or general maintenance, I am here to help. With my excellent communication skills and attention to detail, you can trust that your systems will be in good hands. Let's work together to ensure the smooth operation of your Unix/Linux systems!
$350 USD v 7 dnech
4,9 (7 recenze)
4,5
4,5
Avatar uživatele
Hi Connor W., How are you doing? As a professional developer with expertise in Ubuntu, CentOs, UNIX, Linux and Shell Script, I eagerly anticipate the opportunity to complete this project for you. Please drop me a message to discuss the project detail. Thank you for considering my services.
$50 USD v 3 dnech
0,0 (0 recenze)
0,0
0,0

O klientovi

Pochází z UNITED STATES
Detroit, United States
0,0
0
Ověřená platební metoda
Členem od dub 21, 2024

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.