From b57b20329b5a62a9fbec3dce931d8ea935757f16 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 14 Oct 2025 20:18:24 -0700 Subject: sysutils/ttyd: Add -W flag and /usr/bin/login default program -W - flag is needed in order for clients to be able to write into the terminal, otherwise it is read-only /usr/bin/login - is needed for users to be logged in, because this is what most users expect PR: 289702 Approved by: nc@FreeBSD.org (maintainer's timeout; 25 days) --- sysutils/ttyd/files/ttyd.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysutils/ttyd/files/ttyd.in') diff --git a/sysutils/ttyd/files/ttyd.in b/sysutils/ttyd/files/ttyd.in index 56b8188deeda..15c108eca492 100755 --- a/sysutils/ttyd/files/ttyd.in +++ b/sysutils/ttyd/files/ttyd.in @@ -19,8 +19,8 @@ load_rc_config $name : ${ttyd_enable:="NO"} : ${ttyd_acct:="nobody"} -: ${ttyd_exec:="/bin/sh"} -: ${ttyd_args:="--interface lo0 --port 7681"} +: ${ttyd_exec:="/usr/bin/login"} +: ${ttyd_args:="--interface lo0 --port 7681 -W"} procname="/usr/local/bin/${name}" -- cgit v1.2.3