<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 09/18/2012 07:34 AM, Charlie Derwent wrote:
    <blockquote
cite="mid:CA+W6xeswNoBYuwGnCyV_GyRBRfGamX7kwdaJQECtRMfwNrez8g@mail.gmail.com"
      type="cite">
      <div>Hi </div>
      <div> </div>
      <div>I've used "ipa host-disable ${HOST}; ipa host-mod
        --password=${PASS} ${HOST}" In the past and that seems to work
        quite well. The ideal for me would be a situation where the IPA
        information could persist between rebuilds.</div>
    </blockquote>
    <br>
    <br>
    Can you please elaborate more?<br>
    Between rebuilds of what client or server?<br>
    And what information you want to persist: cert, keytab, OTP?<br>
    <br>
    Thanks<br>
    Dmitri<br>
    <br>
    <blockquote
cite="mid:CA+W6xeswNoBYuwGnCyV_GyRBRfGamX7kwdaJQECtRMfwNrez8g@mail.gmail.com"
      type="cite">
      <div> </div>
      <div>Cheers,</div>
      <div>Charlie<br>
      </div>
      <div class="gmail_quote">On Tue, Sep 18, 2012 at 12:05 PM, Innes,
        Duncan <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:Duncan.Innes@virginmoney.com" target="_blank">Duncan.Innes@virginmoney.com</a>></span>
        wrote:<br>
        <blockquote style="margin:0px 0px 0px
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"
          class="gmail_quote">Folks,<br>
          <br>
          Juggling a problem here that perhaps doesn't have a perfect
          solution.<br>
          I'm looking at systems that get re-provisioned by a<br>
          Satellite/Spacewalk/Installation method.  For full (Free)IPA<br>
          integration, we normally delete the old entry from IPA, create
          a new one<br>
          from scratch and set the OTP to match what we put in our
          post-install<br>
          script called by the kickstart file.<br>
          <br>
          Just noticed that I can do the same thing by Unprovisioning
          the system<br>
          via the WebUI and then setting the OTP.<br>
          <br>
          Is there a way to Unprovision a registered host and set a OTP
          via the<br>
          command line?  I was looking at 'ipa host-mod --setattr' but
          not getting<br>
          too far with the Unprovisioning aspect.<br>
          <br>
          Duncan Innes | Linux Architect | Virgin Money | <a
            moz-do-not-send="true" href="tel:%2B44%201603%20215476"
            value="+441603215476">+44 1603 215476</a> | +44<br>
          7801 134507 | <a moz-do-not-send="true"
            href="mailto:duncan.innes@virginmoney.com">duncan.innes@virginmoney.com</a><br>
          <br>
          <br>
          <br>
          > -----Original Message-----<br>
          > From: <a moz-do-not-send="true"
            href="mailto:freeipa-users-bounces@redhat.com">freeipa-users-bounces@redhat.com</a><br>
          > [mailto:<a moz-do-not-send="true"
            href="mailto:freeipa-users-bounces@redhat.com">freeipa-users-bounces@redhat.com</a>]
          On Behalf Of JR Aquino<br>
          > Sent: 18 September 2012 03:58<br>
          > To: Tim Hildred<br>
          > Cc: freeipa-users<br>
          > Subject: Re: [Freeipa-users] Password requirements too
          stringent<br>
          ><br>
          ><br>
          > On Sep 17, 2012, at 7:53 PM, Tim Hildred wrote:<br>
          ><br>
          > > JR<br>
          > ><br>
          > > I had that line. I commented it out. Thank you.<br>
          > ><br>
          > > Now, what do I have to restart?<br>
          ><br>
          > I believe it should take effect in real time, but you may<br>
          > need to test to be sure.  If it is still happening, you
          may<br>
          > need to double check that some other pam cfg doesn't also<br>
          > have it present: $ cd /etc/pam.d/ && grep
          pam_cracklib *<br>
          ><br>
          > If you have removed it from everything and it is still
          giving<br>
          > you the same error, then I would try a reboot... perhaps<br>
          > getty needs to reinitialize or something.  But I'd try
          those<br>
          > steps before a reboot!<br>
          ><br>
          > ;)<br>
          ><br>
          > > Tim Hildred, RHCE<br>
          > > Content Author II - Engineering Content Services,
          Red Hat, Inc.<br>
          > > Brisbane, Australia<br>
          > > Email: <a moz-do-not-send="true"
            href="mailto:thildred@redhat.com">thildred@redhat.com</a><br>
          > > Internal: 8588287<br>
          > > Mobile: <a moz-do-not-send="true"
            href="tel:%2B61%204%20666%2025242" value="+61466625242">+61
            4 666 25242</a><br>
          > > IRC: thildred<br>
          > ><br>
          > > ----- Original Message -----<br>
          > >> From: "JR Aquino" <<a moz-do-not-send="true"
            href="mailto:JR.Aquino@citrix.com">JR.Aquino@citrix.com</a>><br>
          > >> To: "Tim Hildred" <<a moz-do-not-send="true"
            href="mailto:thildred@redhat.com">thildred@redhat.com</a>><br>
          > >> Cc: "freeipa-users" <<a
            moz-do-not-send="true"
            href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a>><br>
          > >> Sent: Tuesday, September 18, 2012 12:37:48 PM<br>
          > >> Subject: Re: [Freeipa-users] Password
          requirements too stringent<br>
          > >><br>
          > >> Tim, please check your /etc/pam.d/system-auth
          with the password<br>
          > >> block.  If you see password    requisite    
          pam_cracklib.so, then<br>
          > >> this is why you are having a problem.<br>
          > >><br>
          > >> $ man pam_cracklib<br>
          > >><br>
          > >> It is a local security library for enforcing
          strong password<br>
          > >> practices from the unix cli.<br>
          > >><br>
          > >> ProTip:<br>
          > >> If you don't need this, you can remove it from
          pam If you want to<br>
          > >> work around this, set your password from the IPA
          webui or via the<br>
          > >> cli: "ipa passwd username"<br>
          > >><br>
          > >> Hope this info helps!<br>
          > >><br>
          > >> "Keeping your head in the cloud"<br>
          > >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
          > >> JR Aquino<br>
          > >><br>
          > >> Senior Information Security Specialist,
          Technical Operations<br>
          > >> T: <a moz-do-not-send="true"
            href="tel:%2B1%20805%20690%203478" value="+18056903478">+1
            805 690 3478</a> | F: <a moz-do-not-send="true"
            href="tel:%2B1%20805%20879%203730" value="+18058793730">+1
            805 879 3730</a> | M: <a moz-do-not-send="true"
            href="tel:%2B1%20805%20717%200365" value="+18057170365">+1
            805 717 0365</a> GIAC<br>
          > >> Certified Incident Handler | GIAC WebApplication<br>
          > Penetration Tester<br>
          > >> <a moz-do-not-send="true"
            href="mailto:JR.Aquino@citrix.com">JR.Aquino@citrix.com</a><mailto:<a
            moz-do-not-send="true" href="mailto:JR.Aquino@citrix.com">JR.Aquino@citrix.com</a>><br>
          > >><br>
          > >><br>
          > >> [<a class="moz-txt-link-freetext" href="cid:image002.jpg@01CD4A37.5451DC00">cid:image002.jpg@01CD4A37.5451DC00</a>]<br>
          > >><br>
          > >> Powering mobile workstyles and cloud services<br>
          > >><br>
          > >><br>
          > >><br>
          > >><br>
          > >><br>
          > >> On Sep 17, 2012, at 6:25 PM, Tim Hildred wrote:<br>
          > >><br>
          > >> Hey all;<br>
          > >><br>
          > >> I'm running IPA internally to control access to
          our cloud<br>
          > >> environment.<br>
          > >><br>
          > >> I must admit, I do not understand the password<br>
          > requirements. I have<br>
          > >> had them set to the defaults. I read this:<br>
          > >><br>
          > <a moz-do-not-send="true"
href="https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Lin"
            target="_blank">https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Lin</a><br>
          > >>
          ux/6/html/Identity_Management_Guide/user-pwdpolicy.html<br>
          > >><br>
          > >> I have the minimum character classes set to 0.
          When people<br>
          > use SSH to<br>
          > >> change their passwords, they get "Based on a
          dictionary word" for<br>
          > >> passwords that have nothing to do with
          dictionary words.<br>
          > >><br>
          > >> I can't find anywhere in the documentation a
          break down of<br>
          > what makes<br>
          > >> an unacceptable versus acceptable password.<br>
          > >><br>
          > >> Can anyone help me figure out what to tell my
          users? I<br>
          > think people<br>
          > >> would get a lot less frustrated if they knew why<br>
          > "C679V375" was "too<br>
          > >> simple" when the password policy has 0 required
          classes.<br>
          > >><br>
          > >> Tim Hildred, RHCE<br>
          > >> Content Author II - Engineering Content
          Services, Red Hat, Inc.<br>
          > >> Brisbane, Australia<br>
          > >> Email: <a moz-do-not-send="true"
            href="mailto:thildred@redhat.com">thildred@redhat.com</a><br>
          > >> Internal: 8588287<br>
          > >> Mobile: <a moz-do-not-send="true"
            href="tel:%2B61%204%20666%2025242" value="+61466625242">+61
            4 666 25242</a><br>
          > >> IRC: thildred<br>
          > >><br>
          > >> ps: funny exchange with user:<br>
          > >> Jul 12 14:12:33 <user1> i feel like im
          being punked Jul 12<br>
          > 14:12:40<br>
          > >> <user1> it is based on a dictionary word
          Jul 12 14:12:43<br>
          > <user1> it<br>
          > >> is too short Jul 12 14:12:49 <user1> is
          does not have<br>
          > enough unique<br>
          > >> letters Jul 12 14:12:51 <user1> etc<br>
          > >><br>
          > >> _______________________________________________<br>
          > >> Freeipa-users mailing list<br>
          > >> <a moz-do-not-send="true"
            href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><br>
          > >> <a moz-do-not-send="true"
            href="https://www.redhat.com/mailman/listinfo/freeipa-users"
            target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
          > >><br>
          > >><br>
          ><br>
          ><br>
          > _______________________________________________<br>
          > Freeipa-users mailing list<br>
          > <a moz-do-not-send="true"
            href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><br>
          > <a moz-do-not-send="true"
            href="https://www.redhat.com/mailman/listinfo/freeipa-users"
            target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
          ><br>
          > This message has been checked for viruses and spam by the<br>
          > Virgin Money email scanning system powered by
          Messagelabs.<br>
          ><br>
          <br>
          <br>
          Northern Rock plc is part of the Virgin Money group of
          companies.<br>
          <br>
          This e-mail is intended to be confidential to the recipient.
          If you receive a copy in error, please inform the sender and
          then delete this message.<br>
          <br>
          Virgin Money Personal Financial Service Limited is authorised
          and regulated by the Financial Services Authority. Company no.
          3072766.<br>
          <br>
          Virgin Money Unit Trust Managers Limited is authorised and
          regulated by the Financial Services Authority. Company no.
          3000482.<br>
          <br>
          Virgin Money Cards Limited. Introducer appointed
          representative only of Virgin Money Personal Financial Service
          Limited. Company no. 4232392.<br>
          <br>
          Virgin Money Management Services Limited. Company no. 3072772.<br>
          <br>
          Virgin Money Holdings (UK) Limited. Company no. 3087587.<br>
          <br>
          Each of the above companies is registered in England and Wales
          and has its registered office at Discovery House, Whiting
          Road, Norwich NR4 6EJ.<br>
          <br>
          Northern Rock plc. Authorised and regulated by the Financial
          Services Authority. Registered in England and Wales (Company
          no. 6952311) with its registered office at Northern Rock
          House, Gosforth, Newcastle upon Tyne NE3 4PL.<br>
          <br>
          The above companies use the trading name Virgin Money.<br>
          <br>
          <br>
          _______________________________________________<br>
          Freeipa-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a><br>
          <a moz-do-not-send="true"
            href="https://www.redhat.com/mailman/listinfo/freeipa-users"
            target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Freeipa-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-users@redhat.com">Freeipa-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-users">https://www.redhat.com/mailman/listinfo/freeipa-users</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
<a class="moz-txt-link-abbreviated" href="http://www.redhat.com/carveoutcosts/">www.redhat.com/carveoutcosts/</a>


</pre>
  </body>
</html>