diff --git a/DATA/uploads/README b/DATA/uploads/README old mode 100644 new mode 100755 diff --git a/bin/addadmin b/bin/addadmin new file mode 100644 index 0000000000..b0c0063609 --- /dev/null +++ b/bin/addadmin @@ -0,0 +1,10 @@ + +$db->addUser($db->newUser(user_id=>"admin", first_name=>"Prof", last_name=>"Admin",email_address=>"", student_id=>"admin", status=>"C",section=>"", recitation=>"",comment=>"administrator")); + +$db->addPassword($db->newPassword(user_id=>"admin", password=>crypt("admin", "dc"))); + +$db->addPermissionLevel($db->newPermissionLevel(user_id=>"admin", permission=>"10")); + + +exit; + diff --git a/bin/addprofa b/bin/addprofa new file mode 100644 index 0000000000..19c328502f --- /dev/null +++ b/bin/addprofa @@ -0,0 +1,10 @@ + +$db->addUser($db->newUser(user_id=>"profa", first_name=>"Prof", last_name=>"A",email_address=>"", student_id=>"profa", status=>"C",section=>"", recitation=>"",comment=>"administrator")); + +$db->addPassword($db->newPassword(user_id=>"profa", password=>crypt("profa", "dc"))); + +$db->addPermissionLevel($db->newPermissionLevel(user_id=>"profa", permission=>"10")); + + +exit; + diff --git a/bin/wwsh b/bin/wwsh index 2afdcf2159..1aed0dfdf2 100755 --- a/bin/wwsh +++ b/bin/wwsh @@ -21,7 +21,7 @@ wwdb - command-line interface to the WeBWorK libraries. =cut -use Data::Dumper; + BEGIN { DB::parse_options("NonStop=1"); @@ -33,6 +33,7 @@ BEGIN { use lib "$ENV{WEBWORK_ROOT}/lib"; use WeBWorK::CourseEnvironment; use WeBWorK::DB; +use Data::Dumper; our $ce; our $db; diff --git a/htdocs/tmp/equations/README b/htdocs/tmp/equations/README index 9967464ff4..69ca086407 100644 --- a/htdocs/tmp/equations/README +++ b/htdocs/tmp/equations/README @@ -1,3 +1,2 @@ -$CVSHeader$ Equation images are stored in this directory. diff --git a/logs/README b/logs/README old mode 100644 new mode 100755 diff --git a/tmp/README b/tmp/README old mode 100644 new mode 100755