This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cat /etc/inittab | |
| # | |
| # /etc/inittab | |
| # | |
| # Runlevels: | |
| # 0 Halt | |
| # 1(S) Single-user | |
| # 2 Not used | |
| # 3 Multi-user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/expect -f | |
| # Expect script to supply root/admin password for remote ssh server | |
| # and execute command. | |
| # This script needs three argument to(s) connect to remote server: | |
| # password = Password of remote UNIX server, for root user. | |
| # ipaddr = IP Addreess of remote UNIX server, no hostname | |
| # scriptname = Path to remote script which will execute on remote server | |
| # For example: | |
| # ./sshlogin.exp password 192.168.1.11 who | |
| # ------------------------------------------------------------------------ |