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

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.