* How do I run dosemu as suid.
@ 2002-07-30 2:05 Eddie
0 siblings, 0 replies; 2+ messages in thread
From: Eddie @ 2002-07-30 2:05 UTC (permalink / raw)
To: linux-msdos@vger.kernel.org
Hello.
I have been tyring to setup dosemu 1.1.3 to run as suid.
I need it to poll a POS (both definitions apply. it's an old system that should have been replaced 10 years ago. I kid you
not.)
system through the serial port. It works fine if I run it as root. But I would like it to run as the admin user so it can poll the
data on a cron job. Only the admin user will have access to it. Not too worried about the security issue.
So, I did a system wide install, suid the dosemu.bin file, moved the config files to /etc/. Set unrestricted for user all in the
users file. Set security to 0. But it still does not work. Lock file issues.
I have read all the docs I could find and have swamped google checking the web and groups for answers.
Found a lot of info, and I have tried a lot of things, but I just can't get it to work.
I have been working on this for over a week now with no luck. I am desperate. I want to toss out the old DOS
computers but I can't unless I can get this POS system talking to the Linux system.
Please help. I have to go to Windows if I can't get this to work. (yuck)
Thank you.
Eddie
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How do I run dosemu as suid.
@ 2002-07-30 11:33 Stas Sergeev
0 siblings, 0 replies; 2+ messages in thread
From: Stas Sergeev @ 2002-07-30 11:33 UTC (permalink / raw)
To: linux-msdos
Hello.
Eddie wrote:
> I have been tyring to setup dosemu 1.1.3 to run as suid.
There might be no problems
running dosemu suid-root
unless you are using 1.0.2
version, and you don't.
Pay attention to a startup
messages. If dosemu have no
root privs, you'll see this:
"Running unpriviledged in low feature mode"
> system through the serial port. It works fine if I run it as root. But
But you don't need root for
accessing serial, unless, again,
you are using 1.0.2.
What it needs is an ability to
create a lock files and access
to /dev/ttySx. Check the necessary
permissions.
> I have been working on this for over a week now with no luck.
Seems strange. Are there any error
messages on startup? Try also
producing the log such as -D9+cs
maybe that will help.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-30 11:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-30 2:05 How do I run dosemu as suid Eddie
-- strict thread matches above, loose matches on Subject: below --
2002-07-30 11:33 Stas Sergeev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox