https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245236

--- Comment #3 from Jesús Daniel Colmenares Oviedo <[email protected]> ---
See this review:

https://reviews.freebsd.org/D54660

Example:

```
$ doas /usr/obj/var/freebsd-tree/user/src/amd64.amd64/usr.sbin/jexec/jexec -l
f4c0f22157 cat /etc/shells
# List of acceptable shells for chpass(1).
# ftpd(8) will not allow users to connect who are not using
# one of these shells.

/bin/sh
/bin/csh
/bin/tcsh
$ doas /usr/obj/var/freebsd-tree/user/src/amd64.amd64/usr.sbin/jexec/jexec -l
-e SHELL=/bin/sh f4c0f22157
# ^D
$ doas /usr/obj/var/freebsd-tree/user/src/amd64.amd64/usr.sbin/jexec/jexec -l
-e SHELL=/bin/csh f4c0f22157
Tiene correo.
root@f4c0f22157:/ # exit
$ doas /usr/obj/var/freebsd-tree/user/src/amd64.amd64/usr.sbin/jexec/jexec -l
-e SHELL=/bin/tcsh f4c0f22157
Tiene correo.
root@f4c0f22157:/ # exit
$ doas /usr/obj/var/freebsd-tree/user/src/amd64.amd64/usr.sbin/jexec/jexec -l
-e SHELL=/nonexistent f4c0f22157
jexec: execlp: /nonexistent: No such file or directory
```

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to