Find Jobs
Hire Freelancers

CentOS User Creation Code Development

$30-250 USD

Abgeschlossen
Veröffentlicht vor 26 Tagen

$30-250 USD

Bezahlt bei Lieferung
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)
Projekt-ID: 38019661

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 26 Tagen

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
$0 USD in 1 Tag
5,0 (102 Bewertungen)
6,2
6,2
5 Freelancer bieten im Durchschnitt $170 USD für diesen Auftrag
Avatar des Nutzers
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 in 7 Tagen
5,0 (4 Bewertungen)
4,9
4,9
Avatar des Nutzers
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 in 7 Tagen
4,9 (7 Bewertungen)
4,5
4,5
Avatar des Nutzers
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 in 3 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Detroit, United States
0,0
0
Zahlungsmethode verifiziert
Mitglied seit Apr. 21, 2024

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.