From: Charles Duffy <ccd@mailcall.com.au>
To: linux-msdos@vger.kernel.org
Subject: pseudo-tty access for unpriv'd user
Date: Fri, 18 Mar 2005 10:46:54 +1100 [thread overview]
Message-ID: <423A16EE.5070708@mailcall.com.au> (raw)
Hi all,
I'm trying to run some DOS-based BBS software under DOSemu.
In my dosemu.conf, I specify a pseudo-tty to use as COM1, like:
$_com1 = "/dev/ptyp0"
And my linux-native front-end program talks to the BBS software running
under DOSemu
via /dev/ttyp0. All fine so far, but it only works when DOSemu is running
as root, even though I'm not accessing any real serial port hardware (at
least I don't think so...).
My pty isn't in use by anything else, and permissions are all fine.
When run as an unprivileged user, DOSemu starts up fine, but the BBS
software complains about not being able to access COM1. The problem
isn't particular to that piece of BBS software, either - same thing
happens trying to talk to TELIX or
any such serial comms program.
Is this normal? Or is there some way of getting it to work without
running as root? (or being suid-root).
I'm using DOSemu 1.2.2.0. My kernel is 2.4.22-1.2115.nptl.
Sorry if this question has been asked already - there have been quite a
few posts about BBS software and serial port access, but none that I
could find addressed this particular issue.
Thanks,
--
Charles Duffy
Systems Administrator
Mail Call Couriers
reply other threads:[~2005-03-17 23:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=423A16EE.5070708@mailcall.com.au \
--to=ccd@mailcall.com.au \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox