Question

Urgent help needed: Please provide screen shots, will thumbs up good work! LANGUAGE: PYTHON Task 5:...

Urgent help needed: Please provide screen shots, will thumbs up good work!

LANGUAGE: PYTHON

Task 5: Managing Groups
Execute the following commands in the root command-line environment: # for i in jones sam henry john smith; do useradd $i; done
Check whether users jones sam henry john smith are created

  • # tail /etc/passwd

  • # groupadd friends

  • # for i in jones sam henry john smith; do gpasswd -a $i friends;done

    Check whether users jones sam henry john smith are added to group friends

    • # tail /etc/group

    • # userdel henry

  • # usermod -L jones

  • # chage -d 0 jones
    # python
    >>> import crypt;print crypt.crypt ("password","pen") >>>

    Press CTRL d to exit
    Use the mouse to copy the encrypted string.
    # usermod -p jones
    The angle brackets (< and >) are NOT part of the string!

    # grepjones/etc/shadow # chage-M2john
    # passwdsam
    # useraddbill

    # gpasswd-abillfriends # chage-M3smith

    Explain change –M command. What is the final output?

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Urgent help needed: Please provide screen shots, will thumbs up good work! LANGUAGE: PYTHON Task 5:...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT