Index: locker/bin/signup-sql
===================================================================
--- locker/bin/signup-sql	(revision 127)
+++ locker/bin/signup-sql	(revision 128)
@@ -9,9 +9,9 @@
 
 sshrun() {
-  athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1 2>/dev/null
+  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null
 }
 
 vsshrun() {
-  athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1
+  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1
 }
 
Index: locker/bin/webaccess
===================================================================
--- locker/bin/webaccess	(revision 127)
+++ locker/bin/webaccess	(revision 128)
@@ -47,6 +47,6 @@
 	chmod(0777, ".htaccess");
 
-	my $salt = substr($username, 0, 2);
-	$password = crypt($password, $salt);
+	my $salt = join '', ('.', '/', 0..9, 'A'..'Z', 'a'..'z') [rand 64, rand 64, rand 64, rand 64, rand 64, rand 64, rand 64, rand 64];
+	$password = crypt($password, '$1$'.$salt);
 
 	open(HTPASSWD, ">>.htpasswd");
