Forum archive 2000-2006

Kevin Leonard - changing professor password

Kevin Leonard - changing professor password

by Arnold Pizer -
Number of replies: 0
inactiveTopicchanging professor password topic started 5/31/2004; 4:07:24 PM
last post 6/1/2004; 10:46:23 AM
userKevin Leonard - changing professor password  blueArrow
5/31/2004; 4:07:24 PM (reads: 1060, responses: 5)
I have a practice course setup and multiple users have access to it.  Unfortunately, someone changed the professors password and now I cant login as professor.  How do I reset the professors password?

<| Post or View Comments |>


userMichael Gage - Re: changing professor password  blueArrow
5/31/2004; 6:14:44 PM (reads: 1249, responses: 1)
For WeBWorK 1.9  this is done using the command line script
 newpassword.pl

(which is in the scripts directory /ww/webwork/system/scripts/newpassword.pl)

 The useage is

 /ww/webwork/system/scripts/newpassword.pl coursename loginname newpassword



 If you have the scripts directory in your path you can just type

 newpassword.pl



and the script will remind you of the syntax.


-- Mike

<| Post or View Comments |>


userJohn Jones - Re: changing professor password  blueArrow
5/31/2004; 7:13:19 PM (reads: 1234, responses: 0)
If it is webwork 2, I now have an analogous command line script for changing passwords.  If people are interested, speak up and I will post it somewhere.

John

<| Post or View Comments |>


userMichael Gage - Re: changing professor password  blueArrow
6/1/2004; 8:58:13 AM (reads: 1201, responses: 0)
Hi John,

I suggest putting the script you mention and similar scripts in the webwork2/bin directory in the CVS.

There are already scripts such as addcourse and so forth. For the most part these functions can be accomplished from the web, but when possible we should make command line versions available for backup purposes, or for those situations where it is more efficient to do things using direct unix access to the webserver.

-- Mike

<| Post or View Comments |>


userJohn Jones - Re: changing professor password  blueArrow
6/1/2004; 10:46:23 AM (reads: 1254, responses: 0)
Ok.  This one seemed especially useful as a way to bail yourself out in case you forgot the only professors password.

John

<| Post or View Comments |>


userKevin Leonard - Re: changing professor password  blueArrow
6/1/2004; 11:06:20 AM (reads: 1408, responses: 0)

Thanks Mike, it worked great!

Kevin

<| Post or View Comments |>