             misc_node.execute_code
                 command : 'ssh'
                 args    : ['-o', 'StrictHostKeyChecking=no', host, 'sudo', 'salvus/salvus/scripts/create_unix_user.py']
-                timeout : 20
+                timeout : 45
                 bash    : false
                 err_on_exit: true
                 cb      : (err, output) =>

                location   : undefined   # means not deployed anywhere
        (cb) ->
            winston.debug("move_project_to_longterm_storage -- deleting account and all associated files")

    ], (err) ->
        if err == "done"

        return [false, "Choose a password that isn't very weak."]
    return [true, '']

# Delete a unix user from some compute vm (as specified by location).
# NOTE: Since this can get called automatically, and there is the possibility
# of adding locations not on our VPN, if the location isn't 'localhost' or
# on the 10.x vpn, then it is an error.
delete_unix_user = (opts) ->
    opts = defaults opts,
        location : required
        timeout  : 120        # it could take a while to delete all files
        cb       : undefined

    misc_node.execute_code
    command : 'ssh'
    args    : ['-o', 'StrictHostKeyChecking=no', opts.location.host, 'sudo',
               'salvus/salvus/scripts/delete_unix_user.py', opts.location.username]
    timeout : opts.timeout
    bash    : false
    err_on_exit: true
    cb      : (err, output) =>
        if err
            winston.debug("failed to create new unix user on #{host} -- #{err}")
            cb(err)
        else
            username = output.stdout.replace(/\s/g, '')
            if username.length == 0
                winston.debug("FAILED to create new user on #{host}; empty username")
                cb("error creating user")
            else
                winston.debug("created new user #{username} on #{host}")
                cb()



# Create a unix user with some random user name on some compute vm.
new_random_unix_user = (opts) ->
    opts = defaults opts,
        cb          : required
