Learning Perl

Learning PerlSearch this book
Previous: 16.3 Getting Network InformationChapter 16
System Database Access
Next: 17. User Database Manipulation
 

16.4 Exercise

See Appendix A, Exercise Answers for the answer.

  1. Write a program to create a mapping of userIDs and real names from the password entries, then uses that map to show a list of real names that belong to each group in the group file. (Does your list include users who have a default group in the password entry but no explicit mention of that same group in the group entry? If not, how would you accomplish that?)


Previous: 16.3 Getting Network InformationLearning PerlNext: 17. User Database Manipulation
16.3 Getting Network InformationBook Index17. User Database Manipulation