Changeset 128
- Timestamp:
- Jan 28, 2007, 4:34:38 PM (19 years ago)
- Location:
- locker
- Files:
- 
          - 3 edited
 
 - 
          bin/signup-sql (modified) (1 diff)
- 
          bin/webaccess (modified) (1 diff)
- 
          deploy/bin/onathena (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
        locker/bin/signup-sqlr127 r128 9 9 10 10 sshrun() { 11 athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname/mit/scripts/$1 2>/dev/null11 athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null 12 12 } 13 13 14 14 vsshrun() { 15 athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname/mit/scripts/$115 athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 16 16 } 17 17 
- 
        locker/bin/webaccessr127 r128 47 47 chmod(0777, ".htaccess"); 48 48 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); 51 51 52 52 open(HTPASSWD, ">>.htpasswd"); 
- 
        locker/deploy/bin/onathenar127 r128 9 9 10 10 sshrun() { 11 athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname/mit/scripts/$1 2>/dev/null11 athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null 12 12 } 13 13 14 14 vsshrun() { 15 athrun scripts sshmic scripts.mit.edu /usr/local/bin/runas $lname/mit/scripts/$115 athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 16 16 } 17 17 
Note: See TracChangeset
          for help on using the changeset viewer.
      
