gian123 / jodconverter

Automatically exported from code.google.com/p/jodconverter
1 stars 0 forks source link

Support for starting OOo as a different user #59

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It should be possible to start the OOo process as a different user with
e.g. sudo on Linux.

This would allow setting user-specific limits for OOo memory usage, network
access etc, provided that the system has been configured appropriately.

Original issue reported on code.google.com by mirko.na...@gmail.com on 22 Nov 2009 at 1:36

GoogleCodeExporter commented 8 years ago
Done in r153

E.g. to start the process as user 'openoffice':

  new DefaultOfficeManagerConfiguration()
    ...
    .setRunAsArgs("sudo", "-u", "openoffice")
    ...
    .buildOfficeManager();

But that's only part of the story; the system needs to be configured to allow 
the
user to sudo to 'openoffice', the dir where documents are read and written must 
be
shared between both users, etc.

Original comment by mirko.na...@gmail.com on 22 Nov 2009 at 2:25

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 27 Mar 2011 at 1:12

GoogleCodeExporter commented 8 years ago

Original comment by mirko.na...@gmail.com on 7 May 2011 at 3:33