On Sun, 24 Jan 1999 [EMAIL PROTECTED] wrote:
>I am new to Linux (though familiar with Unix), and I recently bought RedHat
>5.2 Linux and installed it on my laptop.
[...]
>However, I did try the dos emulator (dos), and nothing happens. I mean, I
>get a few initial messages, including where to send bugs reports, etc (with
>your email address), and then it returns me to the Linux shell!
I have had the very same problem, and can tell you exactly what your problem
is. RedHat distributes /usr/bin/dos as suid root, and /etc/dosemu.users such
that it contains:
nobody nosuidroot guest
guest nosuidroot guest
# If you want to allow limited dosemu to all users, uncomment the line
# all nosuidroot restricted
"nosuidroot" means that a regular user will get exactly the symptoms you
describe if he is attempting to run a suid root copy of DOSEMU. You have four
choices: First, remove the "nosuidroot" directive. Second, always run DOSEMU as
root. Third, remove the suid bit from /usr/bin/dos. Fourth, copy /usr/bin/dos
to another location as non-suid.
--
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: [EMAIL PROTECTED] | Canada K2B 6G3 | if you're concerned about Hell.