Could you please:

  ssh fyodor.hcoop.net
  cd /home
  for USER in *; do
    sudo touch              $USER/.mire-password
    sudo chown $USER:megacz $USER/.mire-password
    sudo chmod 660          $USER/.mire-password
  done

This way I can (using a script and ssh keys) automatically and
securely retrieve a user's desired password and overwrite the file
contents once their account has been created (we don't want to leave
these files lying around any longer than we have to).

Thanks,

  - a

-- 
PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380


_______________________________________________
HCoop-SysAdmin mailing list
[email protected]
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin

Reply via email to