Commands after root login not working
Asked by
sayantan
i wrote a script :
#! /bin/bash
terminator -x sh -c "expect -c 'spawn su - ;expect Password:;send "your-password\
-->this will open up a terminator terminal with root login , what changes do i need to make in script so that other commands can execute in the terminator's terminal which has open up
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Terminator Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask sayantan for more information if necessary.
To post a message you must log in.