Changes between Initial Version and Version 1 of NISAuth


Ignore:
Timestamp:
11/14/06 11:18:38 (15 years ago)
Author:
raffenet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NISAuth

    v1 v1  
     1'''Edit Django settings''' 
     2 
     3Django allows for custom authentication backends to its login procedure.  Hostbase has an NIS authentication backend that verifies a user to be in the unix group allowed to modify Hostbase.   
     4 
     5To enable this feature: 
     6 * first edit your {{{Hostbase/settings.py}}} file and uncomment the line {{{'Hostbase.backends.NISBackend',}}} in the list of {{{AUTHENTICATION_BACKENDS}}} 
     7 * enter the name of the unix group you want to give access to Hostbase in the {{{AUTHORIZED_GROUP}}} variable 
     8 * in your {{{Hostbase/hostbase/views.py}}} file at the very bottom, uncomment the block(s) of lines that give you the desired level of access 
     9 
     10Hostbase will now direct the user to a login page if he or she is not authorized to view a certain page.  Users should log in with their regular Unix username and password.