Re: Running remote commands through sudo/sec framework?
Re: Running remote commands through sudo/sec framework?
- Subject: Re: Running remote commands through sudo/sec framework?
- From: Michael Carter <email@hidden>
- Date: Thu, 28 Jul 2005 08:42:04 -0700
Have the admin on the remote machine add the commands you need to
execute to the sudoers file with the NOPASSWD: modifier. This is the
way most admins allow external scripts to work between machines.
On Jul 28, 2005, at 5:50 AM, Rakka wrote:
Hi,
I want to run some terminal commands on a remote machine through my
application (the tasks require admin authentication, i.e sudo). Is
this possible to do securely? I was thinking of using SSH, but once
the user supplies the name and password for the remote machine, and
my app connects to it, how do I check if it was an administrator
name and password. And once I verify that it is a correct admin
user, how would I directly send commands using sudo -e? Or is there
a way to use the Security framework for remote authentication?
I'm trying to figure out how to do this, but just can't see how it
can be done. (executing sudo commands on a remote machine).
Thanks a lot for any help.
- rakka _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden