SHARE
TWEET

Untitled

a guest Jul 19th, 2011 178 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # /etc/nsswitch.conf
  3. #
  4. # An example Name Service Switch config file. This file should be
  5. # sorted with the most-used services at the beginning.
  6. #
  7. # The entry '[NOTFOUND=return]' means that the search for an
  8. # entry should stop if the search in the previous entry turned
  9. # up nothing. Note that if the search failed due to some other reason
  10. # (like no NIS server responding) then the search continues with the
  11. # next entry.
  12. #
  13. # Legal entries are:
  14. #
  15. #       nisplus or nis+         Use NIS+ (NIS version 3)
  16. #       nis or yp               Use NIS (NIS version 2), also called YP
  17. #       dns                     Use DNS (Domain Name Service)
  18. #       files                   Use the local files
  19. #       db                      Use the local database (.db) files
  20. #       compat                  Use NIS on compat mode
  21. #       hesiod                  Use Hesiod for user lookups
  22. #       [NOTFOUND=return]       Stop searching if not found so far
  23. #
  24.  
  25. # To use db, put the "db" in front of "files" for entries you want to be
  26. # looked up first in the databases
  27. #
  28. # Example:
  29. #passwd:    db files nisplus nis
  30. #shadow:    db files nisplus nis
  31. #group:     db files nisplus nis
  32.  
  33. passwd: files ldap
  34. shadow:     files winbind
  35. group:      files winbind
  36.  
  37. #hosts:     db files nisplus nis dns
  38. hosts:      files dns
  39.  
  40. # Example - obey only what nisplus tells us...
  41. #services:   nisplus [NOTFOUND=return] files
  42. #networks:   nisplus [NOTFOUND=return] files
  43. #protocols:  nisplus [NOTFOUND=return] files
  44. #rpc:        nisplus [NOTFOUND=return] files
  45. #ethers:     nisplus [NOTFOUND=return] files
  46. #netmasks:   nisplus [NOTFOUND=return] files    
  47.  
  48. bootparams: nisplus [NOTFOUND=return] files
  49.  
  50. ethers:     files
  51. netmasks:   files
  52. networks:   files
  53. protocols:  files
  54. rpc:        files
  55. services:   files
  56.  
  57. netgroup:   files
  58.  
  59. publickey:  nisplus
  60.  
  61. automount:  files
  62. aliases:    files nisplus
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top