Warning: Undefined array key "DOKU_PREFS" in /usr/share/dokuwiki/inc/common.php on line 2082
cluster:157 [DokuWiki]

User Tools

Site Tools


cluster:157

Warning: Undefined array key -1 in /usr/share/dokuwiki/inc/html.php on line 1458

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cluster:157 [2017/04/06 14:51]
hmeij07
cluster:157 [2017/04/06 15:31]
hmeij07
Line 38: Line 38:
     * useradd -u 15001 -g 15001 weshmeij     * useradd -u 15001 -g 15001 weshmeij
     * echo `date | md5sum | awk '{print $1}'` | passwd weshmeij --stdin     * echo `date | md5sum | awk '{print $1}'` | passwd weshmeij --stdin
-    * su - weshmeij -c "ssh-keygen -b 2048 -t rsa -f /home/weshmeij/.ssh/weshmeij -q -N '''' " # 4 single ticks+    * su - weshmeij -c "ssh-keygen -b 2048 -t rsa -f /home/weshmeij/.ssh/weshmeij -q -N '''' " # 4 single quotes before closing double quote
     * mv /home/weshmeij/.ssh/weshmeij.pub /etc/ssh/authorized_keys/weshmeij     * mv /home/weshmeij/.ssh/weshmeij.pub /etc/ssh/authorized_keys/weshmeij
     * chown root:root /etc/ssh/authorized_keys/weshmeij     * chown root:root /etc/ssh/authorized_keys/weshmeij
Line 45: Line 45:
     * script finishes; rm -f /home/weshmeij/.ssh/weshmeij     * script finishes; rm -f /home/weshmeij/.ssh/weshmeij
     * that night college[A|B|C] root retrieves all lines in the range 15001-30000     * that night college[A|B|C] root retrieves all lines in the range 15001-30000
-      * makes home dirs if they do not exist (parse lines build useradd)+      * makes home dirs if they do not exist (parse lines build useradd, or via pam.d/sshd?)
       * download public keys, updates in /etc/ssh/authorized_keys (rsync with --delete)       * download public keys, updates in /etc/ssh/authorized_keys (rsync with --delete)
       * replaces local passwd/shadow/group with retrieved lines       * replaces local passwd/shadow/group with retrieved lines
-    * user hmeij@wes: ssh weshmeij@openhpc.lafayette.edu -i /home/hmeij/.ssh/weshmeij.priv+  * user hmeij@wes: ssh weshmeij@openhpc.lafayette.edu -i /home/hmeij/.ssh/weshmeij.priv
  
 That would work. Nobody knows the passwords for these guest accounts. That would work. Nobody knows the passwords for these guest accounts.
cluster/157.txt ยท Last modified: 2017/04/06 15:31 by hmeij07