I have two users; user1 and user2. I have a bash script run by user1, that needs to run a command on a screen terminal started by user2. Suggestions? Thanks Max
Do you want it to look as if user2 typed the command?
In the case of
This will type the text
(Yes, the second
To do this, you will need to have write access to
In the generic "run stuff on another tty" case, you can use
Or do you just want user2 to see the output?
You will need write access; this can be given by user2 with chmod/setfacl, or you can use
|show 2 more comments|