[Freeipa-users] sudo !requiretty !authenticate

Martin Kosek mkosek at redhat.com
Mon Jan 5 11:33:15 UTC 2015


On 01/02/2015 07:47 PM, Craig White wrote:
> Subject pretty much says it all.
> 
> Starting to play around with rundeck and was thinking it would be nice if I could create a user that had the ability to sudo, without password, a public key and the ability to run commands.
> 
> But the use of 'sudo' gets me an error that says it requires a tty to run sudo. So I tried by creating a sudo rule that has options '!requiretty !authenticate' but it still complains that I need a tty. Is there a FreeIPA method that I am lacking?
> 
> Craig White
> System Administrator
> O 623-201-8179   M 602-377-9752
> 
> [cid:image001.png at 01CF86FE.42D51630]
> 
> SkyTouch Technology     4225 E. Windrose Dr.     Phoenix, AZ 85032

CCing Pavel to advise.

>From top of my head - did you try clearing SSSD cache before calling the sudo
command again? Did you enter the options in the FreeIPA SUDO entry correctly?
Maybe the problem is that each option should be filed as a separate attribute
value and you entered it as one combined attribute value.

Martin




More information about the Freeipa-users mailing list