STARTSRV(8)

πŸ“¦ version 4.0, in debian bookworm, ubuntu jammy

✨ 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 to ttysrv live. if it's not there, you get the defaults, and the defaults are the ones that set 9600,8n1 πŸ“
  • /etc/remote-tty/prot/<host>.sock β€” the permissions the socket should be set to. default is 660 πŸ’œ
  • /etc/remote-tty/owner/<host>.sock β€” who owns the socket. default owner is rttymgr:dialout πŸ‘‘
  • /etc/remote-tty/prot/<host>.log β€” the permissions of the logfile. default is 640 🌸

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