Skip to content

Commit 6e8f4b7

Browse files
crassrichardweinberger
authored andcommitted
um: port_user: Search for in.telnetd in PATH
This allows in.telnetd to be run from non-standard installation locations and is especially useful when running a UML instance as an unprivileged user on a system where the administrator has not installed the in.telnetd binary. Signed-off-by: Glenn Washburn <development@efficientek.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 6580c5c commit 6e8f4b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/um/drivers/port_user.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ static void port_pre_exec(void *arg)
167167
int port_connection(int fd, int *socket, int *pid_out)
168168
{
169169
int new, err;
170-
char *argv[] = { "/usr/sbin/in.telnetd", "-L",
170+
char *argv[] = { "in.telnetd", "-L",
171171
OS_LIB_PATH "/uml/port-helper", NULL };
172172
struct port_pre_exec_data data;
173173

0 commit comments

Comments
 (0)