-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run command with sudo without disabling requiretty #53
Comments
Can you help ? |
enable sudo for the node see http://rundeck.org/docs/plugins-user-guide/ssh-plugins.html#secondary-sudo-password-authentication for ec2 plugin you willl have to add the attributes to the mapping definition in the plugin |
added :
but still i'm getting tty issue:
|
you would need |
@gschueler I have this entry, but still getting errors - anything I am missing? |
@dvg06 what does your generated node definition look like? |
@gschueler apologies , newbie here. field mapping: |
@gschueler - anything I am missing ? |
@amitdaniel86 When configuring the Node Executor, make sure to check the "Force PTY" checkbox, this will always force the use of a new pty. |
Hi ,
I'm using the rundeck-ec2-nodes-plugin and i need to run command with sudo .
when I'm running them as sudo I'm getting the next error :
sudo: sorry, you must have a tty to run sudo
i don't want to comment :
Defaults requiretty
from sudoers file .Also i didn't fine if i can add "sudo authentication" for ec2 plugin .
Thanks for your help
Amit
The text was updated successfully, but these errors were encountered: