FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


fhscripts:check:check_rootpass.exp.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
fhscripts:check:check_rootpass.exp.html [2017/12/19 01:35]
kurihara
fhscripts:check:check_rootpass.exp.html [2018/02/26 00:37]
kurihara
Line 1: Line 1:
-~~NOTOC~~ 
 [[:index.html#FastHandle Scripts|FastHandle Scripts]] [[:index.html#FastHandle Scripts|FastHandle Scripts]]
-====== check_rootpass.exp ======+====== Expect to Check Root Passowrd  after logging as a general user ======
  
 +$FHHOME/fhscripts/check_rootpass.exp
  
-===== How to use =====+\\ 
 +{{INLINETOC}} 
 +\\ 
 + 
 +===== How to use check_rootpass.exp=====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ check_rootpass.exp  192.168.0.10  'PASSWORD' $ check_rootpass.exp  192.168.0.10  'PASSWORD'
Line 12: Line 16:
  
 \\ \\
-===== Script ===== +===== check_rootpass.exp ===== 
 +$FHHOME/fhscripts/check_rootpass.exp
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 #!/usr/bin/expect #!/usr/bin/expect
Line 51: Line 55:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-<catlist -noAddPageButton -smallHead -sortAscending>+<catlist ..: -noAddPageButton -smallHead -sortAscending>
 </WRAP> </WRAP>
  


fhscripts/check/check_rootpass.exp.html.txt · Last modified: 2018/03/29 00:05 by kurihara