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 {*}$pwtk::remote(rsh) $user_at_host {echo yes}}] } {
        return 0
    } else {
        return 1
    }
}