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
fhscripts:check:check_rootpass.exp.html [2017/12/31 23:27]
kurihara
fhscripts:check:check_rootpass.exp.html [2018/03/29 00:05] (current)
kurihara
Line 1: Line 1:
 [[: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/bin/check_rootpass.exp
  
 \\ \\
Line 6: Line 8:
 \\ \\
  
-===== How to use =====+===== 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 14: Line 16:
  
 \\ \\
-===== Script ===== +===== check_rootpass.exp ===== 
-$FHHOME/fhscripts/check_rootpass.exp+$FHHOME/bin/check_rootpass.exp 
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 #!/usr/bin/expect #!/usr/bin/expect
Line 53: Line 56:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-<catlist -noAddPageButton -smallHead -sortAscending>+<catlist ..: -noAddPageButton -smallHead -sortAscending>
 </WRAP> </WRAP>
  


fhscripts/check/check_rootpass.exp.html.1514730438.txt.gz · Last modified: 2017/12/31 23:27 by kurihara