Re: [Freeipa-devel] ipa-client-sudo

2011-02-19 Thread Simo Sorce
On Fri, 18 Feb 2011 23:09:21 -0500 Adam Young ayo...@redhat.com wrote: Here's a rough hack. It follows the steps in the test script. I tested it out and it works. Truly a hack :) Just one thing, do not change rc.local, it's wrong, if you really need to set the NIS domain (what for ?) then

Re: [Freeipa-devel] ipa-client-sudo

2011-02-19 Thread JR Aquino
On 2/19/11 7:33 AM, Simo Sorce sso...@redhat.com wrote: On Fri, 18 Feb 2011 23:09:21 -0500 Adam Young ayo...@redhat.com wrote: Here's a rough hack. It follows the steps in the test script. I tested it out and it works. Truly a hack :) More specifically: The script looks like it will

Re: [Freeipa-devel] ipa-client-sudo

2011-02-19 Thread Adam Young
On 02/19/2011 12:00 PM, JR Aquino wrote: On 2/19/11 7:33 AM, Simo Sorcesso...@redhat.com wrote: On Fri, 18 Feb 2011 23:09:21 -0500 Adam Youngayo...@redhat.com wrote: Here's a rough hack. It follows the steps in the test script. I tested it out and it works. Truly a hack :) More

Re: [Freeipa-devel] ipa-client-sudo

2011-02-19 Thread Adam Young
On 02/19/2011 10:33 AM, Simo Sorce wrote: On Fri, 18 Feb 2011 23:09:21 -0500 Adam Youngayo...@redhat.com wrote: Here's a rough hack. It follows the steps in the test script. I tested it out and it works. Truly a hack :) Yeah, I really just wanted something to make sure that SUDO was

[Freeipa-devel] ipa-client-sudo

2011-02-18 Thread Adam Young
Here's a rough hack. It follows the steps in the test script. I tested it out and it works. BASEDN=`awk '/basedn/ {print $3}' /etc/ipa/default.conf` IPASERVER=`awk '/server/ {print $3}' /etc/ipa/default.conf` DOMAIN=`awk '/domain/ {print $3}' /etc/ipa/default.conf` CONFDIR=`mktemp -d`