<p dir="ltr">Did you try executing this first:</p>
<p dir="ltr">kinit admin </p>
<div class="gmail_quote">On Sep 24, 2014 8:13 PM, "Alex Harvey" <<a href="mailto:alexharv074@gmail.com">alexharv074@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all<div><br></div><div>I'm new to IPA and struggling a bit to automate some tasks.</div><div><br></div><div>I am unable to delete hosts from the command line although have no problem doing this using the GUI, e.g.</div><div><br></div><div><p style="margin:0px;font-size:11px;font-family:Menlo">[root@myipaserver ~]# ipa host-del <a href="http://myhost.example.com" target="_blank">myhost.example.com</a></p>
<p style="margin:0px;font-size:11px;font-family:Menlo">ipa: ERROR: Insufficient access: not allowed to perform this command</p></div><div><br></div><div>I guess I need to somehow pass the admin user's username and password?  However the man page doesn't seem to provide any option for doing this.</div><div><br></div><div>Thanks</div><div>Alex</div></div>
<br>--<br>
Manage your subscription for the Freeipa-users mailing list:<br>
<a href="https://www.redhat.com/mailman/listinfo/freeipa-users" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
Go To <a href="http://freeipa.org" target="_blank">http://freeipa.org</a> for more info on the project<br></blockquote></div>