summaryrefslogtreecommitdiffstats
path: root/lib/authenticator-plaintext.lua
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug that caused exception when encountered invalid passwd line.Ted Trask2010-08-101-1/+3
|
* Set permissions 600 on passwd and roles file if creating them.ttrask2009-03-191-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1734 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug in authenticator-plaintext that erased user data from other fields ↵Ted Trask2008-11-111-2/+8
| | | | | | when saving user data. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1594 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles to use authenticator rather than directly access roles file. ↵Ted Trask2008-08-181-4/+4
| | | | | | This will facilitate moving roles and passwd to a database. Had to allow roles file to use : instead of = git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1384 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles and authenticator to delete all data fields when deleting a ↵Ted Trask2008-08-161-2/+25
| | | | | | role or user. Modified all roles code to pass self for future move from text file to database. Roles cannot use authenticator unless or until roles file syntax is changed. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1382 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified authenticator to allow reading/writing role-based options. ↵Ted Trask2008-07-251-5/+5
| | | | | | Modified viewfunctions to display multi values that are not in options. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1320 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Another rewrite of validator to remove dnsfiles and add a generic way for ↵Ted Trask2008-07-241-28/+52
| | | | | | other controllers to save user-based settings. Also added fs.create_file function. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1317 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Split common code out of authenticator-plaintext into authenticator.lua in ↵Ted Trask2008-07-221-300/+27
| | | | | | preparation for adding SQL authentication. Rewrote authentication functions to use cfe's. Made corresponding changes to roles and logon. Added dnsfiles field to userdata for tinydns access control. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1314 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Fixed bug in roles managementTed Trask2008-05-231-1/+1
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1180 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Finished user and role managementTed Trask2008-05-051-0/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1100 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated rolesTed Trask2008-05-021-2/+10
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1099 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified roles, logon, and authenticatorTed Trask2008-05-011-75/+62
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1095 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Modified cfe, removing option, errtxt, and name, and adding label - This may ↵Ted Trask2008-04-301-34/+114
| | | | | | | | | | | | break things. Rewrote password module, adding model Modified authenticator to make password module work git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1052 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Removed some old (unused) codeMika Havela2008-02-261-3/+0
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@769 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added/modified functionallity to edit/delete/add users and their settings.Mika Havela2008-02-201-10/+97
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@760 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding functionallity to edit/modify existing accounts. (Work in progress)Mika Havela2008-02-191-0/+82
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@758 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Added the full roles to the sessiondata.Mike Mason2008-02-051-0/+9
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@696 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Adding the beingings of the authorization items. Also adding some of the ↵Mike Mason2008-02-041-1/+1
| | | | | | updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed
* Updated changes hopefully meeting most of the security checks/validation ↵Mike Mason2008-01-291-18/+21
| | | | | | items in nangel's list git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@662 ab2d0c66-481e-0410-8bed-d214d4d58bed
* logon works - but session table is not saved yetNathan Angelacos2007-12-221-2/+2
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@450 ab2d0c66-481e-0410-8bed-d214d4d58bed
* WIPNathan Angelacos2007-12-091-3/+3
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@422 ab2d0c66-481e-0410-8bed-d214d4d58bed
* added logevent function (hardcoded to write to /var/log/acf.log)Nathan Angelacos2007-12-091-6/+7
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@421 ab2d0c66-481e-0410-8bed-d214d4d58bed
* reworked authenticatorNathan Angelacos2007-12-051-26/+37
| | | | git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@410 ab2d0c66-481e-0410-8bed-d214d4d58bed
* plaintext authenticator libraryNathan Angelacos2007-12-041-0/+81
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@404 ab2d0c66-481e-0410-8bed-d214d4d58bed