DTSPCD(1m)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– dtspcd β€” CDE Subprocess Control Service πŸ’–

okay so this is the manual page for dtspcd from the user cmd section, bestie β€” yes, user cmd, that's the manual it lives in, and we are gonna get through it together. grab a lil snack. πŸ“

dtspcd [-debug]  [-log]  [-auth_dirdirectory]  [-timeoutnum_minutes]
       [-mount_pointmount_point]

✨ NAME ✨

dtspcd β€” the CDE Subprocess Control Service. that's the whole name. short, sweet, iconic. πŸ‘‘


🌸 DESCRIPTION 🌸

okay so dtspcd is the daemon for the CDE Subprocess Control service. and listen β€” you do not start this one yourself. like, it's not a "run it in your terminal and vibe" situation. it's supposed to get started automatically by the inetd daemon (peep inetd(1m)) whenever a CDE client asks for a process to be started on the daemon's host. it's giving background main character energy β€” it shows up when it's needed and that's the whole point. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -auth_dir directory β€” the default authentication directory is the user's $HOME directory. this option lets the system administrator use a different directory instead. note that directory must be exported to hosts wishing to use the dtspc service. directory β€” the name of the directory to use for authentication. πŸ—‚οΈ
  • -timeout minutes β€” by default, the dtspcd process terminates if it has no activity (process start or process stop) for 10 minutes and dtspcd has no child processes running. want a different number? set minutes to the desired number of minutes. want to force the daemon to not use a timer at all? set minutes to -1. minutes β€” the number of minutes for the timer. ⏰
  • -mount_point mount_point β€” the file system's mount point is named mount_point. for example, mount_point could be "/net" or "/nfs". the daemon sets the environment variable DTMOUNTPOINT to the value of mount_point, and this value of DTMOUNTPOINT overrides all other definitions of DTMOUNTPOINT. πŸ’…
  • -log β€” turns on logging of status info to the file /var/dt/tmp/DTSPCD.log. what gets logged? the name of the client host, the client's username, error messages, and the name of the file used for authentication. default is to not do any logging. πŸ“
  • -debug β€” turns on logging of the dtspc protocol to the file /var/dt/tmp/DTSPCD.log. the protocol info logged includes the name of the protocol and the number of bytes in the request. default is to not log the protocol. πŸ”

πŸ” AUTHENTICATION πŸ”

so when a CDE client tries to connect to a dtspcd daemon, the client sends the daemon its username. the daemon uses that username to figure out the user's home directory on the daemon's host. that home directory is used during authentication, and it must be readable by the daemon and writable by the client. which means: the user's home directory on the daemon's host has to be mounted to the client host. no cap, that's non-negotiable. 🧚

if the user's home directory is not readable and the -auth_dir command line option is not used, then the directory /var/dt/tmp gets used instead.

want to use a directory other than the user's home directory for authentication? that's literally what the -auth_dir command line option is for, bestie. πŸ’–


βš™οΈ CONFIGURATION βš™οΈ

dtspcd is an Internet service, so it must be registered in the file /etc/services like this:

dtspc      6112/tcp

and in the file /etc/inetd.conf like this:

dtspc  stream  tcp  nowait  root  /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcd /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcd

copy it exactly, don't get creative with it, slay. ✨


🌈 ENVIRONMENT VARIABLE MANAGEMENT 🌈

the CDE Subprocess Control service lets the user and the system administrator create files of environment variable definitions, which get placed into the process's environment before a remote process is started. check dtspcdenv(4) for the details, okay? that's where the real tea is. πŸ¦‹


πŸ’œ OPERATING SYSTEM DEPENDENCIES πŸ’œ

on HP-UX, the file /usr/adm/inetd.sec may be used to control access to the dtspcd daemon. see inetd.sec(4) for more info. 🫑


πŸ—‚οΈ FILES πŸ—‚οΈ

  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcd β€” the CDE Subprocess Control daemon
  • /etc/services β€” the Internet service name data base
  • /etc/inted.conf β€” the inetd configuration file
  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/dtspcdenv β€” system-wide, locally defined environment variable definitions used when a process is executed
  • /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/dtspcdenv β€” system-wide, installed environment variable definitions used when a process is executed
  • $HOME/.dt/dtspcdenv β€” user-specific environment variable definitions used when a process is executed
  • /var/dt/tmp/DTSPCD.log β€” the dtspcd log file

πŸ”₯ DIAGNOSTICS πŸ”₯

use the command line options -log and -debug (both described up in OPTIONS, bestie, you got this) to get diagnostic information. πŸ‘‘


🌟 SEE ALSO 🌟

inetd(1m), services(4), inetd.conf(4), dtspcdenv(4).


and that's the whole page!! πŸ’… this was the dtspcd(user cmd) page from CDE 2.5.3 β€” the paths are literally spelling out cde-2.5.3 so that's the version, and there's no date line on this one, so we're just gonna vibe with that. hope this helped, go be excellent to your daemons. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from