I have an existing expect program that is used to spawn a telnet session and automatically login a user to a server. I would like to trap certain commands to prevent users from executing those commands (passwd, etc.). I modified my program according to Don Libes "Exploring Expect"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.