CVS log for loncom/Attic/lcuseradd
Up to [LON-CAPA] / loncom
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.44
Sat Aug 10 01:33:04 2013 UTC (11 years, 4 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
FILE REMOVED
Changes since revision 1.43: +1 -1
lines
- Web interface to support switching/adding filesystem-authenticated
"unix" users was removed in LON-CAPA 2.6.0, so lcuseradd not needed.
- Authoring Spaces migration from /home/<username>/public_html to
/home/httpd/html/priv/<domain>/<username> for 2.11.0, so lchtmldir
not needed (bug 1320).
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Aug 10 01:15:13 2013 UTC (11 years, 4 months ago) by raeburn
Branches: MAIN
Diff to previous 1.42: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.42: +1 -13
lines
- Bug 1320.
- No need to create a user directory in /home/httpd/html/priv/$udom/$uname
when a unix auth user is created; one will be created automatically if an
author role is assigned.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Oct 24 21:30:09 2011 UTC (13 years, 2 months ago) by www
Branches: MAIN
CVS tags: language_hyphenation_merge,
language_hyphenation,
BZ4492-merge,
BZ4492-feature_horizontal_radioresponse,
BZ4492-feature_Support_horizontal_radioresponse,
BZ4492-Support_horizontal_radioresponse
Diff to previous 1.41: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.41: +18 -63
lines
Bug #1320: NOT SURE IF THIS IS NEEDED ANYMORE
If we don't support UNIX accounts anymore,
we should remove calls to lcuseradd from lond
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 28 20:43:37 2007 UTC (17 years, 9 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X,
version_2_9_99_0,
version_2_9_1,
version_2_9_0,
version_2_8_X,
version_2_8_99_1,
version_2_8_99_0,
version_2_8_2,
version_2_8_1,
version_2_8_0,
version_2_7_X,
version_2_7_99_1,
version_2_7_99_0,
version_2_7_1,
version_2_7_0,
version_2_6_X,
version_2_6_99_1,
version_2_6_99_0,
version_2_6_3,
version_2_6_2,
version_2_6_1,
version_2_6_0,
version_2_5_X,
version_2_5_99_1,
version_2_5_99_0,
version_2_5_2,
version_2_5_1,
version_2_5_0,
version_2_4_X,
version_2_4_99_0,
version_2_4_2,
version_2_4_1,
version_2_4_0,
version_2_3_99_0,
version_2_11_X,
version_2_11_5_msu,
version_2_11_5,
version_2_11_4_uiuc,
version_2_11_4_msu,
version_2_11_4,
version_2_11_3_uiuc,
version_2_11_3_msu,
version_2_11_3,
version_2_11_2_uiuc,
version_2_11_2_msu,
version_2_11_2_educog,
version_2_11_2,
version_2_11_1,
version_2_11_0_RC3,
version_2_11_0_RC2,
version_2_11_0_RC1,
version_2_11_0,
version_2_10_X,
version_2_10_1,
version_2_10_0_RC2,
version_2_10_0_RC1,
version_2_10_0,
loncapaMITrelate_1,
bz6209-base,
bz6209,
bz5969,
bz2851,
PRINT_INCOMPLETE_base,
PRINT_INCOMPLETE,
GCI_3,
GCI_2,
GCI_1,
BZ5971-printing-apage,
BZ5434-fox
Diff to previous 1.40: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.40: +7 -2
lines
- some cleanups and informational adds
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Dec 5 14:46:04 2006 UTC (18 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_3_X,
version_2_3_2,
version_2_3_1,
version_2_3_0,
version_2_2_99_1,
version_2_2_99_0
Diff to previous 1.39: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.39: +9 -2
lines
The default filename for the httpd PID file for Apache 2 on SuSE is /var/run/httpd2.pid
In the future, setting PidFile explicitly in Apache 2 configuration during install is expected to be a better long term solution.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Aug 25 21:25:22 2006 UTC (18 years, 4 months ago) by albertel
Branches: MAIN
CVS tags: version_2_2_X,
version_2_2_2,
version_2_2_1
Diff to previous 1.38: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.38: +2 -6
lines
- eliminating some syntax warnings
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jul 29 17:33:18 2005 UTC (19 years, 5 months ago) by raeburn
Branches: MAIN
CVS tags: version_2_2_0,
version_2_1_X,
version_2_1_99_3,
version_2_1_99_2,
version_2_1_99_1,
version_2_1_99_0,
version_2_1_3,
version_2_1_2,
version_2_1_1,
version_2_1_0,
version_2_0_X,
version_2_0_99_1,
version_2_0_2,
version_2_0_1,
version_2_0_0,
version_1_99_3
Diff to previous 1.37: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.37: +37 -37
lines
Changes to accommodate suse, where new users are put into default group rather than into new group with same name as username. Solve this by creating group first, before adding user. Also create user's home directory if not created automatically.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jun 21 10:58:38 2005 UTC (19 years, 6 months ago) by foxr
Branches: MAIN
CVS tags: version_1_99_2,
version_1_99_1,
version_1_99_0
Diff to previous 1.36: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.36: +6 -2
lines
Cosmetic changes to ensure that:
- status file is written while euid is www.
- There's a newline after the status code.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Thu Apr 7 22:27:52 2005 UTC (19 years, 8 months ago) by albertel
Branches: MAIN
CVS tags: version_1_99_1_tmcc,
version_1_99_0_tmcc
Diff to previous 1.35: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.35: +27 -1
lines
- commiting Martin Siegert's updates to work on systems that don't create user groups by default
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jan 27 11:52:46 2005 UTC (19 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.34: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.34: +54 -4
lines
use File::Find::find to recurse the public_html dir ensuring that all
subdirs get 02770 mode.
(defect 3853)
Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Jan 26 12:13:58 2005 UTC (19 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.33: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.33: +4 -4
lines
Fix some safing issues with the pid for httpd that prevented the
kill -USR1 from being sent to the right pid.
Ensure that lond invokes lchtmldir for authors that switch both in and
out of filesystem auth mode.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jan 26 10:38:13 2005 UTC (19 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.32: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.32: +4 -4
lines
Reset the ownership to user:user rather than user:www even though the latter
is objectively probably better and I don't think it will break any existing
stuff since the www already has groups for users that don't match this scheme.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Jan 25 11:39:52 2005 UTC (19 years, 11 months ago) by foxr
Branches: MAIN
Diff to previous 1.31: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.31: +9 -3
lines
Fix defect 3853: Directory ownerships were not correct if the user
was to become an author e.g. Set the ownerships as follows:
top level dir: username:www public_html and below username:www
everything else, the user should be able to control via their Unix
login and should be, if deisired, hide-able from LonCAPA.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Oct 18 10:43:39 2004 UTC (20 years, 2 months ago) by foxr
Branches: MAIN
CVS tags: version_1_3_X,
version_1_3_3,
version_1_3_2,
version_1_3_1,
version_1_3_0,
version_1_2_99_1,
version_1_2_99_0
Diff to previous 1.30: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.30: +11 -4
lines
Defect 550: Allow users to be created if their home dir already exists, as
long as they don't already appear in the /etc/passwd file.
This is necessary for users to be able to change auth mode
from internal -> filesystem if they are authors.
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 2 19:04:53 2004 UTC (20 years, 3 months ago) by albertel
Branches: version_1_2_X
CVS tags: version_1_2_1
Diff to previous 1.25.2.1: preferred, colored to branchpoint 1.25: preferred, colored next main 1.26: preferred, colored
Changes since revision 1.25.2.1: +2 -2
lines
- backport 1.29 1.30
Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Sep 2 19:04:00 2004 UTC (20 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.29: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.29: +1 -2
lines
- remove debug message
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Sep 2 18:59:24 2004 UTC (20 years, 3 months ago) by albertel
Branches: MAIN
Diff to previous 1.28: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.28: +3 -2
lines
- actualy parse the result of the groups command correctly
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Aug 6 10:29:37 2004 UTC (20 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.27: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.27: +7 -13
lines
Raise the self esteem of all the else's by cuddling them, in accordance with
LonCAPA style.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Aug 5 20:47:27 2004 UTC (20 years, 4 months ago) by albertel
Branches: MAIN
Diff to previous 1.26: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.26: +6 -11
lines
- BUG#3238 was not properly handling taint
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Aug 5 10:56:55 2004 UTC (20 years, 4 months ago) by foxr
Branches: MAIN
Diff to previous 1.25: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.25: +86 -26
lines
Add capability (optional for compatibilty with existing code)
to write the error code to a file passed in to lcuseradd. NOte
that the file must be in a directory that is writable by www
I recommend /tmp -- and that the reader of that file unlink it.
This is my way to get around the fact that runing lcuseradd on a pipe
prevents you from getting the exit status of the program, which in turn
prevents the loncapa UI from knowing that adding a user has actually failed!
Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Feb 3 18:03:52 2003 UTC (21 years, 10 months ago) by harris41
Branches: MAIN
CVS tags: version_1_1_X,
version_1_1_99_3,
version_1_1_99_2,
version_1_1_99_1,
version_1_1_99_0,
version_1_1_3,
version_1_1_2,
version_1_1_1,
version_1_1_0,
version_1_0_99_3,
version_1_0_99_2,
version_1_0_99_1,
version_1_0_99,
version_1_0_3,
version_1_0_2,
version_1_0_1,
version_1_0_0,
version_0_99_5,
version_0_99_4,
version_0_99_3,
version_0_99_2,
version_0_99_1,
version_0_99_0,
conference_2003
Branch point for: version_1_2_X
Diff to previous 1.24: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.24: +1 -5
lines
best wishes to all.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 9 16:15:51 2002 UTC (22 years ago) by www
Branches: MAIN
Diff to previous 1.23: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.23: +16 -15
lines
Checking in for TESTING only - move to lower version for 0.6 if not
sufficiently tested.
This sends USR1 to the Apache parent process on a server where a new
filesystem authenticated user is generated. The purpose is to re-init
the group associations.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Sep 19 02:02:59 2002 UTC (22 years, 3 months ago) by foxr
Branches: MAIN
CVS tags: version_0_6_2,
version_0_6
Diff to previous 1.22: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.22: +19 -8
lines
Bug 701 Fixed various little diddly stuff that prevented a new filesystem authenticated user from getting an initial passwd.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Sep 16 13:27:40 2002 UTC (22 years, 3 months ago) by foxr
Branches: MAIN
Diff to previous 1.21: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.21: +6 -2
lines
Bug 701 - added additional $noprint conditionalized deubgging.
In lcpasswd, removed code too put a dummy entry at the end of
/etc/smbpasswd (it's not the right file anyway), and added the -a
switch to the smbpasswd command invocation.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri May 3 03:43:54 2002 UTC (22 years, 7 months ago) by foxr
Branches: MAIN
CVS tags: version_0_5_1,
version_0_5,
version_0_4,
stable_2002_july,
STABLE
Diff to previous 1.20: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.20: +28 -28
lines
Forgot to propagate change for -p switch into mkdir.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Apr 27 13:10:47 2002 UTC (22 years, 8 months ago) by foxr
Branches: MAIN
Diff to previous 1.19: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.19: +40 -29
lines
Hid all the
if($DEBUG) {
&logthis(text)
}
Behind a sub Debug... should have done this a >long< time ago.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Feb 14 22:09:14 2002 UTC (22 years, 10 months ago) by harris41
Branches: MAIN
CVS tags: stable_2002_april
Diff to previous 1.18: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.18: +4 -4
lines
map to foreach
Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Nov 16 06:18:35 2001 UTC (23 years, 1 month ago) by harris41
Branches: MAIN
CVS tags: stable_2002_spring,
stable_2001_fall
Diff to previous 1.17: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.17: +3 -3
lines
just to be sure.. octal
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Nov 15 22:38:12 2001 UTC (23 years, 1 month ago) by harris41
Branches: MAIN
Diff to previous 1.16: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.16: +12 -6
lines
more very necessary bug fixes related to group membership addition and
public_html permissions
Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Nov 15 19:08:00 2001 UTC (23 years, 1 month ago) by harris41
Branches: MAIN
Diff to previous 1.15: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.15: +43 -9
lines
bug fixes and documentation additions
Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Oct 23 03:42:30 2001 UTC (23 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.14: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.14: +130 -137
lines
updated and ready to use
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Oct 30 03:37:51 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.13: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.13: +3 -0
lines
removed 2>/dev/null from lcuserdel to get it working. solidified file
creation permissions. -Scott
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 30 03:30:26 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.12: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.12: +19 -4
lines
scripts are almost all working. lcuserdel still has some problems, and lcuseradd
doesn't get the permissions quite right yet.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Oct 30 03:08:28 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.11: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.11: +3 -3
lines
I'm updating the error code listings in the comments.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 30 02:57:47 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.10: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.10: +3 -2
lines
Ok. It works. I just need to make user directories to be
www-writeable in addition to www-readable. -Scott
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 30 02:50:23 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.9: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.9: +3 -3
lines
The program is basically working with a few minor bugs
like improper directory ownership, failing to create'
index.html, inserting too many lines into /etc/passwd.
-Scott
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Oct 30 02:42:17 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.8: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.8: +7 -19
lines
Finished some of the error checking algorithms as well as
file permission handling upon directory initialization.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 30 02:31:45 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.7: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.7: +116 -0
lines
more error catching and commenting. lcuseradd should be complete, but
I've yet to test the script or give a careful look-through. -Scott
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Oct 29 23:14:16 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.6: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.6: +24 -0
lines
trying to add error-checking to make sure invalid characters are not in the
user name or passwords. lcuseradd appears to be basically working, but I
still need to implement the addition of passwords. I cannot do this with
a system call to lcpasswd due to the restrictions of perl setuid scripts.L
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:52:30 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.5: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.5: +3 -3
lines
implementing conditional printing of error messagtes
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:50:56 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.4: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.4: +80 -10
lines
various small changes..
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:38:21 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.3: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.3: +72 -6
lines
fixing up exit code documentation for lcpasswd and lcuserdel. lcuseradd
useradd system call syntax still incorrect here. I'm putting in more
of the setuid handling code. -Scott
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:20:43 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.2: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.2: +11 -4
lines
solidifying group deletion in lcuserdel, improving useradd syntax system command
for lcuseradd
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:07:20 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to previous 1.1: preferred, colored to selected 1.25.2.1: preferred, colored
Changes since revision 1.1: +8 -1
lines
adjusting comments and shell command execution order in lcuserdel. lcuseradd
is beginning to take form, but is still buggy...
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 27 23:42:33 2000 UTC (24 years, 2 months ago) by harris41
Branches: MAIN
Diff to selected 1.25.2.1: preferred, colored
starting program script descriptions for setuid scripts
which allow for adding and deleting users
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>