This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Can I use RMI for remote system calls?

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a project where the application will run on both Windows and Solaris, however, the program is required to make some system calls only on the Unix side.
I was thinking of setting up an RMI server on a Unix machine and have my client application execute the system calls on the remote machine. My alternative would be to use RSH, which gets messy when you want your app to work on both Unix and the PC.
My question is about user permissions. The system calls must be executed as the user who launched the client application. Is it possible to switch users? Do I have to always launch the RMI server as root?
Thanks for any info or alternative ideas.
 
reply
    Bookmark Topic Watch Topic
  • New Topic