On Thu, 9 Aug 2001, Sreeji K Das wrote:

> Either run dosemu as root, or use sudo to run dosemu with superuser
> privilages.
>
> What exactly is the error that you're getting when you run as root ? It's
> likely that you haven't specified a proper hdimage in dosemu.conf.
>
> If you want to run as a user using sudo, do this:
>
> * Login as root
> * Give the command visudo
> * Now you'll be into the vi editor.
> * Add the following line:
> myuser ALL=/usr/bin/dos
>
> * Now exit ie :wq
>
> Change myuser to the username you want to login as and change /usr/bin/dos
> to the correct path of dos.
>
> Now login as myuser & type 'sudo dos'. It should work.

Please check the mailing list archive. The precompiled version of
dosemu-1.0.2 doesn't like to be run neither as root or suid-root. This is
a bug. Besides, the binary is now called dosemu.bin; dosemu is a script
and making this _script_ or any script for that matter suid-root is a very
very very bad idea.

"
So, in src/plugin/coopthreads/coopthreads.h change

-#if 1
+#if 0

 #include <unistd.h>
 #define COM_CHECK_PERMISSIONS { \

in order to get suid-root running again.

Hans
<[EMAIL PROTECTED]>
"

Bart

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to