Find Jobs
Hire Freelancers

CentOS User Creation Code Development

$30-250 USD

Concluído
Publicado há 24 dias

$30-250 USD

Pago na entrega
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)
ID do Projeto: 38019661

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 24 dias

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
$0 USD em 1 dia
5,0 (102 avaliações)
6,2
6,2
5 freelancers estão ofertando em média $170 USD for esse trabalho
Avatar do Usuário
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 em 7 dias
5,0 (4 avaliações)
4,9
4,9
Avatar do Usuário
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 em 7 dias
4,9 (7 avaliações)
4,5
4,5
Avatar do Usuário
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 em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Detroit, United States
0,0
0
Método de pagamento verificado
Membro desde abr. 21, 2024

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.