FIX for dosemu-0.60.2 non-root problem

FIX for dosemu-0.60.2 non-root problem

Post by Ron Sommeli » Wed, 31 May 1995 04:00:00



Several people in this group (including myself) have noticed that
dosemu-0.60.2 is not working when invoked by a non-root user while
is works when it is invoked by root.

Below is a patch which solves this problem.

Ron.

--- dosemu-0.60.2/dosemu/disks.c.orig

       /* leavedos(28); */
     }
 #endif
-    priv_on();
+    if(dp->type == IMAGE)
+      priv_on();
   }
 }

 
 
 

1. run a non-root user's program from a non-root user

Hi Folks,

Here is the problem.

I have user A and user B (non-root users)

I need for user A to initiate a job as user B. How can this be done?

As you know, I can do this as root. I can start a process from root as
another user in the system (cron jobs come to my mind!) Is there a way
to do this for non-root users? I believe I need to be able to do
something like  as user A
"su - B" without being prompted for password.

Appreciate suggestions in advance.

Pasha

BTW: I am using AIX 4.3.10

2. Err : "bad magic label" for SCSI HD

3. dosemu0.60.2 video error

4. Sending a request to Apache server

5. running dosemu as non-root

6. grabbing 1st 5 char of a string

7. DOSEMU 0.60.2 + Mach32 + non-root = broke?

8. Ooops... probably IPv6 related, kernel 2.4.4

9. DOSEMU: non-root console access prob.

10. wierd problem with non-root BASH (0.96 root and boot)

11. RH8 - Problem w/non-root users starting root programs

12. root privileges through non-root process?

13. From Root to non-Root on the fly => HOW?