[LON-CAPA-admin] How to add DC role to existing user?

Stuart Raeburn raeburn at msu.edu
Tue Apr 15 18:11:40 EDT 2008


If you have command line access to the server, as root, you can add a
DC privilege for a domain hosted on your server by running the  
following script:

perl add_domain_coordinator_privilege.pl [USERNAME:DOMAIN] [DCDOMAIN]

The first argument specifies the username:domain of the existing user.
The second argument specifies the domain to be coordinated (i.e., csm).

This script will be found in the same directory as the
make_domain_coordinator.pl script.

(i.e., in the loncom/build directory from where you installed the  
version of LON-CAPA currently in use).

make_domain_coordinator.pl will fail if (a) the user already has a
unix account, or (b) the username is already in use for an existing
LON-CAPA user in the domain.  So, in your situation it will fail
because of (b).

Stuart Raeburn

Quoting Todd Ruskell <truskell at mines.edu>:

> Hi,
> I've found the following instructions for creating a DC:
> perl make_domain_coordinator.pl DOMAINCOORDINATORNAME DOMAINNAME
> Will this also work if the user already exists?  I don't want to
> overwrite the existing privileges, just add DC to a user.
> Thanks,
> Todd
> --
> Dr. Todd Ruskell
> Senior Lecturer, Department of Physics       Office:  Meyer Hall 326
> Colorado School of Mines                     Phone: 303-384-2080
> 1523 Illinois Street                         Fax: 303-273-3919
> Golden, CO 80401
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin

More information about the LON-CAPA-admin mailing list