Find Jobs
Hire Freelancers

CentOS User Creation Code Development

$30-250 USD

已完成
已发布25 天前

$30-250 USD

货到付款
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: 38019661

关于此项目

5提案
远程项目
活跃25 天前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
$0 USD 在1天之内
5.0 (102条评论)
6.2
6.2
5威客以平均价$170 USD来参与此工作竞价
用户头像
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 在7天之内
5.0 (4条评论)
4.9
4.9
用户头像
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 在7天之内
4.9 (7条评论)
4.5
4.5
用户头像
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 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Detroit, United States
0.0
0
付款方式已验证
会员自4月 21, 2024起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。