Write commands to accomplish the following (use the manual or info pages if necessary):a. Create a user with a login name of bsmith, a UID of 733, a GECOS field entry of“accounting manager,” and a password of Gxj234b. Delete the user jdoe, but leave the home directory intactc. Change the properties of the existing user wjones such that the user has a newcomment field of “shipping” and an account expiry of March 23, 2022d. Lock the account of wjenkinse. Change the password of bsmith to We34Rtf. Change the properties of the existing user tbanks such that the user is a member ofthe managers group and has a login name of artbanksg. Create a user with the same UID and primary group as root and a login name ofwjonesh. Create a new user with a login name of jdoe who has a password of he789R andno home directoryi. Change the primary group of the user wsmith to rootj. Add the users tbanks and jdoe to the group acctg

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Write commands to accomplish the following (use the manual or info pages if necessary):
a. Create a user with a login name of bsmith, a UID of 733, a GECOS field entry of
“accounting manager,” and a password of Gxj234
b. Delete the user jdoe, but leave the home directory intact
c. Change the properties of the existing user wjones such that the user has a new
comment field of “shipping” and an account expiry of March 23, 2022
d. Lock the account of wjenkins
e. Change the password of bsmith to We34Rt
f. Change the properties of the existing user tbanks such that the user is a member of
the managers group and has a login name of artbanks
g. Create a user with the same UID and primary group as root and a login name of
wjones
h. Create a new user with a login name of jdoe who has a password of he789R and
no home directory
i. Change the primary group of the user wsmith to root
j. Add the users tbanks and jdoe to the group acctg

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY