[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

306.0. "Calling CMUserSendEvent from accounts other than root" by SIOG::BATEMAN (We are all DECservers) Mon Jul 18 1994 17:48

    Can CMUserSendEvent be called from account other than root on OSF/1? I 
    notice I get back 203 (CM_OPENFAILEDONSEND) if I try to call it from any 
    account other than root? Perhaps I have missed something in the
    documentation.
    
    Thanks,
    Alan
T.RTitleUserPersonal
Name
DateLines
306.1OPG::PHILIPAnd through the square window...Mon Jul 18 1994 21:3110
  It would appear that because of the protections we have to place on the 
  socket files that you need to be root or at least the program you are
  running needs to be SUID root.

  We overlooked this for the documentation, sorry.

Cheers,
Phil

306.2SIOG::BATEMANWe are all DECserversTue Jul 19 1994 08:586
    If I set the effective user ID as follows it work fine.
    
    	chown root myprog
    	chmod +s myprog
    
    Alan.