Question
6. Write commands to accomplish the following (use the manual or info pages if necessary): a. Create a user with a login name of bsmith,
6. 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started