Hi,
thank you for your answer.
My app needs to connect to another server and a) send a file there
(via scp) and b) ssh there and restart a service (which then uses the
uploaded file).
To make this happen we have installed a permissions key pair to allow
a passwortfree connection between the two
servers for the user admin. But these permissions are userspecific,
So the app connection fails.
So either we need to get the key pair installed for apperver user and
thus need to get access to that user or start the app under
user admin to allow it to log into the other machine.
Regards,
Ute
Anfang der weitergeleiteten E-Mail:
Von: Elizabeth Lynch <l...@plsys.co.uk>
Datum: 30. Juli 2013 10:47:35 MESZ
An: ute Hoffmann <u.hoffm...@tt-pixelmind.com>
Kopie: WebObjects Deploy <Webobjects-deploy@lists.apple.com>
Betreff: Re: How to change app user to admin?
Hi
On 30 Jul 2013, at 09:32, ute Hoffmann <u.hoffmann@tt-
pixelmind.com> wrote:
Hi,
in deployment on Mac Os X, how can I start an App under the user
admin not under _appserver?
Or else how can I su into user _appserver in shell to get
something running in this environment?
I miss a passwort, so where can I find the passwort of user
appserver?
You shouldn't need a password to start the app as the appserver
user from the command line. Make sure your app is owned by
appserver:appserveradm (chown -R appserver:appserveradm
MyApp..woa), and then do:
sudo -u appserver ./MyApp
Liz
Regards,
Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
dep...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/liz%
40plsys.co.uk
This email sent to l...@plsys.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com