Page 160 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 160

Network Operating Systems-I                                  Manmohan Sharma, Lovely Professional University




                    notes                            unit 9: file system commands




                                     contents
                                     Objectives
                                     Introduction
                                     9.1   File System Commands

                                          9.1.1  The /etc/passwd File
                                          9.1.2  The /etc/shadow File
                                          9.1.3  The  /etc/group File
                                     9.2   Environment Variables
                                     9.3   Summary

                                     9.4   Keywords
                                     9.5   Self Assessment
                                     9.6   Review Questions
                                     9.7   Further Readings



                                   objectives

                                   After studying this unit, you will be able to:

                                   l z  Understand file system commands
                                   l z  Discuss Environmental Variables

                                   introduction

                                   In this unit, we will discuss file system commands such as etc/passwd file, etc/shadow file, etc.
                                   Also you will understand the concept of environment variables.
                                   9.1 file system commands


                                   Files those hold users’ information are as follows:
                                   1.   etc/passwd  –  Where  the  user’s  name,  and  other  pertinent  information  are  stored.  This
                                       includes the password unless your system is using shadow passwords.
                                   2.   /etc/shadow – Where the user’s password is stored if you are using shadow passwords.
                                   3.   /etc/group – Where group names are stored.
                                   4.   /etc/aliases – Where the user’s name is matched to a nickname for e-mail.
                                   5.   /etc/sudoers – A list of users with special privileges along with the commands they can
                                       execute.








          154                              LoveLy professionaL university
   155   156   157   158   159   160   161   162   163   164   165