Project

satoru

0.0
The project is in a healthy, maintained state
A Ruby script to control others TTYs using ioctl syscall
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

A Ruby script to control others TTYs using ioctl syscall

Installation

$ gem install satoru

Usage

To send commands to other TTYs, run the command below as root:

# satoru -d DEVICE -e <command>

Example:

# satoru -d /dev/pts/1 -e "id; whoami"

To display all options:

# satoru --help

Output:

Usage: satoru -d DEVICE [options]
    -d, --device=DEVICE              TTY device path (required)
    -e, --execute=COMMAND            Run command on a given TTY
                                     (if no command is given, interactive mode will be started)