TABLE OF CONTENTS


::pwtk::can_connect

SYNOPSIS

proc ::pwtk::can_connect {user_at_host} {

PURPOSE

Check if user can connect to 'user_at_host'.

ARGUMENT

RETURN VALUE

SOURCE

    if { [catch {exec -ignorestderr {*}$::pwtk::remote(rsh) {*}$::pwtk::remote(rsh_alive_opts) $user_at_host exit}] } {
        return 0
    } else {
        return 1
    }
}