diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-01-24 18:47:00 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-01-24 18:47:00 +0000 |
commit | 7c6c1e10f3cc62acc919123d0067a8a9720aeffa (patch) | |
tree | a6f6cb0cc17d41e6ccbc27c2e9f986df2e37c67d /doc/unsorted/nisauth.txt | |
parent | e3bd887d601dad1be9352768206cbb45a91a8cc7 (diff) | |
download | bcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.tar.gz bcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.tar.bz2 bcfg2-7c6c1e10f3cc62acc919123d0067a8a9720aeffa.zip |
doc: Add a lot more unsorted stuff from the wiki
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5703 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/unsorted/nisauth.txt')
-rw-r--r-- | doc/unsorted/nisauth.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/unsorted/nisauth.txt b/doc/unsorted/nisauth.txt new file mode 100644 index 000000000..3dfad1d26 --- /dev/null +++ b/doc/unsorted/nisauth.txt @@ -0,0 +1,19 @@ +.. -*- mode: rst -*- + +.. _unsorted-nisauth: + +================== +NIS Authentication +================== + +'''Edit Django settings''' + +Django 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. + +To enable this feature: + +* first edit your {{{Hostbase/settings.py}}} file and uncomment the line {{{'Hostbase.backends.NISBackend',}}} in the list of {{{AUTHENTICATION_BACKENDS}}} +* enter the name of the unix group you want to give access to Hostbase in the {{{AUTHORIZED_GROUP}}} variable +* 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 + +Hostbase 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. |