Hi Vimal

Thanks a lot. 

chmod +s /usr/bin/dos
chmod +s /usr/bin/xdos worked.

What is this SETUID and which programs need this to be set. While installing
why they are not SETUID by default. Can anybody put light on this ?


Rajesh

On Mon, 20 Dec 1999, you wrote:

> Check if your dosemu is running setuid. On my system,
> [root@localhost /root]# ls -l `which dos`
> -rwsr-xr-x   1 root     root       770132 Oct 11  1998 /usr/bin/dos
> That is, "dos" should both belong to root and should be SETUID to it.
> Also, check if your /etc/dosemu.users has a "nosuidroot" for user
> "rajesh" by any chance.. Also, you could go through log files, try
> an strace etc....
>     From the error message that you get, it seems like dosemu is not
> running as root, or is somehow dropping its root privileges (if it
> had any to begin with...). If you cant find out what the problem is,
> you could try a very dirty and insecure hack by adding "rajesh" to
> the group to which /dev/hda belongs (user "disk" in my system), or
> even worse... giving read/write permissions to "all" for /dev/hda.

-- 
Rajesh(ALIAS Shriram)
-----------------------------------------------------------------------------
Web Site : http://geocities.com/rfowkar/
   Email : [EMAIL PROTECTED]

"My interest is in the future because I am going to spend the rest of my
life there."
-Charles F. Kettering
-----------------------------------------------------------------------------

--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.

Reply via email to