STARTSRV(8)
β¨ STARTSRV β¨
okay bestie, welcome to the startsrv era π this is a page from the System Manager's Manual, section 8 (that's the sysadmin one, iykyk π), and it's all about firing up ttysrv for one specific host. no cap, it's giving "little script, big responsibilities" energy π«Ά
πΈ NAME πΈ
startsrv β invoke ttysrv for a particular host.
π SYNOPSIS π
startsrv host
π DESCRIPTION π
so basically, startsrv fires up ttysrv for a given host. main character behavior, literally β¨
first thing it does? it kills any already running instance for that host π no messy exes here, only one ttysrv per host, periodt.
then it goes on a little reading spree, checking a bunch of config files to figure out how you want things set up π§:
/etc/remote-tty/opt/<host>.srvβ this is where the options to pass tottysrvlive. if it's not there, you get the defaults, and the defaults are the ones that set9600,8n1π/etc/remote-tty/prot/<host>.sockβ the permissions the socket should be set to. default is660π/etc/remote-tty/owner/<host>.sockβ who owns the socket. default owner isrttymgr:dialoutπ/etc/remote-tty/prot/<host>.logβ the permissions of the logfile. default is640πΈ
and the device node it uses is /etc/remote-tty/dev/<host>. fun fact bestie: this will normally be a symlink pointing at the correct file over in /dev π¦
lastly, ttysrv gets configured to log to /var/log/remote-tty/<host>/<host>, with its pidfile hanging out at /var/run/remote-tty/pid/<host> and the socket at /var/run/remote-tty/sock/<host> π
likeβ¦ the path dedication? obsessed. π
π SEE ALSO π
π AUTHOR π
rtty was written by Paul Vixie <vixie@isc.org> π
This manual page was written by Jonathan McDowell <noodles@earth.li> for the Debian project (but may be used by others) π«Ά
okay that's the whole page, you ate it, you understood it, slay π the source on this one is the System Manager's Manual and the date it's rocking is May 23, 2006 β iconic vintage behavior, honestly, we stan an old-school manual page β bye bestie! π
π¦ where this page comes from
- debian bookworm: remote-tty 4.0-13.1+b1
- ubuntu jammy: remote-tty 4.0-13build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms