NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mlterm 3.9.2 Failed to open pty
On Thu, 21 Jul 2022, Mayuresh wrote:
It worked with this with the following messages
utmp_update: /dev/ttype: Is not owned by you
utmp_update: /dev/ttype: Is not owned by you
That is not surprising. If you want it to go away, make
mlterm setuid root.
# chmod o-rwx /dev/ttyp* /dev/ptyp*
after making the pty devices. With that mlterm still works I see--despite
it not being set{u,g}id--hmm. (But, mkterm-wscons is setuid I see...)
After this it's again not working.
Are you not a member of wheel (and, of course that was why it worked
without the binary being setuid--silly me!)? I think it'll work of you
are.
$ ls -l /dev/ttyp0 /dev/ptyp0
crw-rw---- 1 root wheel 6, 0 Jul 21 08:12 /dev/ptyp0
crw-rw---- 1 root wheel 5, 0 Jul 21 08:12 /dev/ttyp0
$
-RVP
Home |
Main Index |
Thread Index |
Old Index