Commit Graph

95 Commits

Author SHA1 Message Date
jim-p
fdcf104ce4 When renaming a user, make sure to remove the previous user or it gets left in /etc/passwd. 2012-04-11 10:46:41 -04:00
Yehuda Katz
4d148b596e Convert strtotime() to DateTime object to fix 2038 roll-over issue. 2012-02-14 20:29:20 -05:00
jim-p
ff9eda9d9a Fix permission and certificate display for the admin user 2012-01-06 13:30:24 -05:00
jim-p
944b694663 Clarify text 2011-08-30 14:50:17 -04:00
jim-p
adacdf5f45 Populate pconfig in all cases with user info, or else when you delete a privilege, the list disappears until you go back and edit the user again. (Certs too) 2011-08-11 14:03:12 -04:00
Ermal
e33be77c0e Ticket #1412. Fixing the access login to the user manager presented another problem since now users cannot change their passwords anymore. Allow this through another page and an extra priviledge needed to be added to the user for allowing them to change the password. 2011-06-06 10:53:42 +00:00
Ermal
9584d162d2 Fixes #1412. Properly pass the page to match so users are not always presented with the change password screen. Proper fix. 2011-06-01 12:23:52 +00:00
Ermal
97c1f2684c Fixes #1412. Properly pass the page to match so users are not always presented with the change password screen. 2011-06-01 11:14:51 +00:00
jim-p
c639315e3c Set password on the OS instead of just the gui. Fixes #1485 2011-04-29 15:43:02 -04:00
jim-p
908cbaf91a Set user when removing privileges, otherwise things like the user's shell would not be reset until pressing save, which is inconsistent with that step not being needed when adding privileges. 2011-04-21 15:33:13 -04:00
jim-p
94d455da18 Enforce FreeBSD's max username length of 16 chars. http://forum.pfsense.org/index.php/topic,33410.0.html 2011-02-17 14:45:39 -05:00
Scott Ullrich
dd5bf424c1 Fix XSS issues 2010-11-12 11:36:20 -05:00
Erik Fonnesbeck
fa6c42d05b Return this field to its old name to prevent a conflict of names and since the code that uses it still refers to it by that name. Issue reported at http://forum.pfsense.org/index.php/topic,29985.0.html
This caused the full name field to be ignored when creating a user and prevented making a certificate at the creation of the user (either could still be changed afterward).
2010-11-10 18:30:55 -07:00
jim-p
08724afa0a Test for arrays first, should fix #968 2010-11-01 14:13:17 -04:00
jim-p
150bbe09fb Indicate if a certificate has been revoked, both in the cert list and the user manager list. 2010-10-21 15:49:39 -04:00
jim-p
f2a86ca96f Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320. 2010-10-19 14:19:44 -04:00
jim-p
9ff73b79e4 Convert fullname field on users to descr, so it gains CDATA protection. 2010-10-19 12:51:12 -04:00
jim-p
ad9b5c6783 Allow creating a user certificate, pre-fill some info, direct back to user edit screen if that is what led us here. If we are making a user certificate, give another choice to select a pre-existing certificate to associate with that user. 2010-09-02 16:50:15 -04:00
jim-p
b0884cde4a Adjust add link. 2010-09-02 16:50:14 -04:00
jim-p
c25f73ae85 Adjust the user manager to use cert references on the user instead of the actual certs. 2010-09-02 16:50:13 -04:00
jim-p
b4e6524c16 CA/CERT Move 2010-09-01 15:26:50 -04:00
jim-p
3d6bbe4c04 Make a refid even for user certs. 2010-08-31 16:19:02 -04:00
jim-p
2934322e80 Set groups first, since local_user_set checks a privilege that relies on the groups being accurate when run. 2010-07-12 12:58:15 -04:00
jim-p
a803793fe5 Fix "all users" group member array test. 2010-07-12 11:59:22 -04:00
Erik Fonnesbeck
3dec33d454 Validate for duplicate user names when editing, too. 2010-06-25 13:12:06 -06:00
jim-p
8339ab6d69 Prevent the GUI from adding a user that already exists in /etc/passwd (root, operator, daemon, etc) 2010-06-25 14:38:03 -04:00
Ermal
e879fc815e Fixes #613. Add correctly users to all users group. 2010-06-22 14:29:45 +00:00
jim-p
ddd1fb7f19 Add IPsec PSK field to User Manager. No backend code to use this value yet. 2010-05-28 16:13:27 -04:00
Carlos Eduardo Ramos
93458966a1 Removed gettext call 2010-04-30 11:13:40 -03:00
Carlos Eduardo Ramos
e13bfff1c6 Add gettext call 2010-04-30 11:10:09 -03:00
Renato Botelho
2b33f3423d add gettext() calls on missing places 2010-04-30 10:13:56 -03:00
Vinicius Coque
5b1dcebf9c Fixing multiline gettext() 2010-04-30 09:25:11 -03:00
Vinicius Coque
6e707e7712 Adding gettext() 2010-04-29 16:00:59 -03:00
Renato Botelho
0e94685b3a Fix gettext issues 2010-04-29 14:32:30 -03:00
Vinicius Coque
39c0be7b5f Fixing gettext implementation 2010-04-28 17:28:10 -03:00
Vinicius Coque
683c26cfeb Fixing gettext() implementation 2010-04-28 13:44:11 -03:00
Renato Botelho
76d49f20d0 Use array instead of explode for reqdfieldsn to fit it better with gettext() calls 2010-04-28 13:17:19 -03:00
Carlos Eduardo Ramos
b79454a71b Reviewing gettext() implementation 2010-04-28 10:55:05 -03:00
Ermal
3b4b9ff3cf Default to 2048 bits. 2010-03-18 13:08:13 +00:00
Ermal
a69c003681 Ticket #423. Remove priv.inc/priv.defs.inc from files. They used require() instead of required once so produced errors or redefinitions of functions. These includes are now included on authgui.inc. 2010-03-15 19:13:20 +00:00
Ermal
136460695d Default to 3650 days. Requested-by: cmb@ 2010-03-15 13:43:26 +00:00
Chris Buechler
095a63dac9 fix text 2010-03-13 15:22:44 -05:00
Ermal
d0412d85d9 Make the certificate table look better. 2010-03-12 14:48:00 +00:00
Ermal
c9794c0616 Allow user certificate to be created with the user. 2010-03-12 14:46:43 +00:00
Scott Ullrich
970db70b41 Run /etc/inc/privhooks if they exist 2010-01-20 19:18:50 -05:00
Chris Buechler
062d7db5ca fix typos 2010-01-16 18:01:52 -05:00
Chris Buechler
36f5df24af remove authorized_keys check, many users won't have SSH access anyway, this check is much too restrictive 2009-12-13 18:57:15 -05:00
Chris Buechler
4494cf6ad9 fix typos 2009-12-07 18:50:11 -05:00
sullrich
5092a6fbac include priv.inc 2009-11-28 21:15:48 -05:00
sullrich
2afddcb1fa Disabled is not a required field 2009-11-28 20:32:53 -05:00