Find Jobs
Hire Freelancers

CentOS User Creation Code Development

$30-250 USD

Completato
Pubblicato 24 giorni fa

$30-250 USD

Pagato al completamento
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)
Rif. progetto: 38019661

Info sul progetto

5 proposte
Progetto a distanza
Attivo 24 giorni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
Assegnato a:
Avatar dell'utente
$0 USD in 1 giorno
5,0 (102 valutazioni)
6,2
6,2
5 freelance hanno fatto un'offerta media di $170 USD
Avatar dell'utente
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 giorni
5,0 (4 valutazioni)
4,9
4,9
Avatar dell'utente
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 giorni
4,9 (7 valutazioni)
4,5
4,5
Avatar dell'utente
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 giorni
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: UNITED STATES
Detroit, United States
0,0
0
Metodo di pagamento verificato
Membro dal apr 21, 2024

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.