FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
fhscripts:check:check_rootpass.exp.html [2017/11/25 00:45] kurihara ↷ Page moved from scripts:passwd-check-root.html to fhscripts:passwd-check-root.html |
fhscripts:check:check_rootpass.exp.html [2018/03/29 00:05] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== | + | ====== |
| + | $FHHOME/ | ||
| + | |||
| + | \\ | ||
| + | {{INLINETOC}} | ||
| + | \\ | ||
| + | |||
| + | ===== How to use check_rootpass.exp===== | ||
| + | <sxh bash toolbar: | ||
| + | $ check_rootpass.exp | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | \\ | ||
| + | ===== check_rootpass.exp ===== | ||
| + | $FHHOME/ | ||
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| Line 12: | 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 18: | Line 34: | ||
| expect " | expect " | ||
| - | send "$INFRAPASS\r" | + | send "$LOGINPASS\r" |
| expect "$ " | expect "$ " | ||
| Line 40: | 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.