[Solved]Task 3 Managing Users Execute Following Commands Root Command Line Environment Passwd Newu Q37250433
Task 3: Managing Users
‘Execute the following commands in the rootcommand-line environment:
# passwd newuser1
# grep newuser1 /etc/shadow
Observe the encrypted password string.
_________________________________________________________________???????(writewhat you see)
# su newuser1
Execute the following commands in the normal user command-lineenvironment:
$ whoami
$ exit
Execute the following commands in the root command-lineenvironment:
#passwd -l newuser1
# passwd -u newuser1
#passwd -n 5 newuser1
# grep newuser1 /etc/shadow
# passwd -n 7 newuser1
# grep newuser1 /etc/shadow
What is option n means? (use man passwd to findout)
__________________________________________________________________________________________________________________/?????????????????
# passwd -x 10 newuser1
# grep newuser1 /etc/shadow
What is the function of first command?
__________________________________________________________________________________________________________________????????
#usermod -e (type expiration date) newuser1
What this command is going to set up?
____________________________________________________________________________________???????????
#grep newuser1 /etc/shadow
Which field stores the value for the expiration date? (Read Page1 and 2)__________________________________________________________________________________________________________________????????
Execute the following commands in the root command-lineenvironment:
# usermod -c “A new user (one)” newuser1
# grep newuser1 /etc/passwd
Which field contains the comment?_____________________________________________________________________________________
# usermod -s /bin/false newuser1
# grep newuser1 /etc/passwd
What is the purpose of /bin/false?__________________________________________________________________________________________________________________
Expert Answer
Answer to Task 3: Managing Users ‘Execute the following commands in the root command-line environment: # passwd newuser1 # grep ne… . . .
OR

