How to write a script so that it opens a particular terminator profile ,logins as root and then executes certain command

Asked by sayantan on 2016-05-18

is is possible that using a script,terminator opens up to a particular profile and logins as root user and then executes certain command.

Question information

Language:
English Edit question
Status:
Answered
For:
Terminator Edit question
Assignee:
No assignee Edit question
Last query:
2016-05-18
Last reply:
2016-05-24

It can be done, but a password prompt will be presented before your command runs as root. It sounds a bit like you are asking to skip that password prompt. This could be done using some various tricks, but they are horrible security wise, so in the same way I'm not going to hand a loaded gun to a person who has never seen a gun before, I'm also not going to explain how to circumvent security to someone who may not understand just how bad this would be.

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.