Changeset 128


Ignore:
Timestamp:
Jan 28, 2007, 4:34:38 PM (17 years ago)
Author:
jbarnold
Message:
current copies of locker software
Location:
locker
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/signup-sql

    r127 r128  
    99
    1010sshrun() {
    11   athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1 2>/dev/null
     11  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null
    1212}
    1313
    1414vsshrun() {
    15   athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1
     15  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1
    1616}
    1717
  • locker/bin/webaccess

    r127 r128  
    4747        chmod(0777, ".htaccess");
    4848
    49         my $salt = substr($username, 0, 2);
    50         $password = crypt($password, $salt);
     49        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];
     50        $password = crypt($password, '$1$'.$salt);
    5151
    5252        open(HTPASSWD, ">>.htpasswd");
  • locker/deploy/bin/onathena

    r127 r128  
    99
    1010sshrun() {
    11   athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1 2>/dev/null
     11  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null
    1212}
    1313
    1414vsshrun() {
    15   athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname /mit/scripts/$1
     15  athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1
    1616}
    1717
Note: See TracChangeset for help on using the changeset viewer.