FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
fhscripts:check:check_rootpass.exp.html [2017/12/04 00:21] kurihara |
fhscripts:check:check_rootpass.exp.html [2018/03/29 00:05] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== | + | ====== |
| + | $FHHOME/ | ||
| - | ===== How to use ===== | + | \\ |
| + | {{INLINETOC}} | ||
| + | \\ | ||
| + | |||
| + | ===== How to use check_rootpass.exp===== | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| $ check_rootpass.exp | $ check_rootpass.exp | ||
| Line 10: | Line 15: | ||
| - | ===== Script | + | \\ |
| + | ===== check_rootpass.exp | ||
| + | $FHHOME/ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| Line 21: | Line 28: | ||
| set IP [lindex $argv 0] | set IP [lindex $argv 0] | ||
| set ROOTPASS [lindex $argv 1] | set ROOTPASS [lindex $argv 1] | ||
| - | set INFRAPASS | + | set LOGINPASS |
| Line 27: | Line 34: | ||
| expect " | expect " | ||
| - | send "$INFRAPASS\r" | + | send "$LOGINPASS\r" |
| expect "$ " | expect "$ " | ||
| Line 49: | Line 56: | ||
| \\ | \\ | ||
| <WRAP box 90%> | <WRAP box 90%> | ||
| - | <catlist -noAddPageButton -smallHead -sortAscending> | + | < |
| </ | </ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.