• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Installation stops during setting up fogproject password

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    39
    5.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Deimos @Sebastian Roth
      last edited by Deimos

      @Sebastian-Roth said in Installation stops during setting up fogproject password:

      echo -e “$password\n$password” | passwd fogproject

      [root@fog-ls15nb ~]# password=$(tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[\]^_{|}~' < /dev/urandom | fold -w12 | head -n1)
      echo $password
      echo -e "$password\n$password" | passwd fogproject
      
      
      [root@fog-ls15nb ~]# echo -e "$password\n$password" | passwd fogproject
      ändere Passwort für Benutzer fogproject.
      Geben Sie ein neues Passwort ein: Unsicheres Passwort: Kein Passwort angegeben
      Geben Sie das neue Passwort erneut ein: Kein Passwort angegeben
      passwd: Fehler beim Ändern des Authentifizierungstoken
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth

        @Deimos Please try again but copy and paste the commands one line after the other. Looks like the random number generator on your system doesn’t return enough data.

        Edit: Even better try this single command: tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[\]^_{|}~' < /dev/urandom | fold -w12 | head -n1

        Does it return anything??

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • D
          Deimos
          last edited by

          Ok, I will try again. The first command doesn’t reply anything. I had to STRG+C it to continue.

          [root@fog-ls15nb ~]# password=$(tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[\]^_{|}~' < /dev/urandom | fold -w12 | head -n1)
              
          ^C
          [root@fog-ls15nb ~]# tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' < /dev/urandom | fold -w12 | head -n1
          y*GqYimlF2V~
          ^C
          [root@fog-ls15nb ~]# echo $password
          
          [root@fog-ls15nb ~]# echo -e "$password\n$password" | passwd fogproject
          ändere Passwort für Benutzer fogproject.
          Geben Sie ein neues Passwort ein: Unsicheres Passwort: Kein Passwort angegeben
          Geben Sie das neue Passwort erneut ein: Kein Passwort angegeben
          passwd: Fehler beim Ändern des Authentifizierungstoken
          [root@fog-ls15nb ~]# 
          
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            @Deimos Do you run Fedora on hardware or in some kind of virtualization?

            If you don’t Strg+c the tr -cd ... command how long does it take? Just leave it running till it finishes.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • D
              Deimos
              last edited by Deimos

              I detected an attempt to move this thread to infinity! : D

              It does not stop. I waited 10 minutes, then I greenshot this output, so you can see the cursor waiting…

              passwd.png

              btw: It is still running.

              1 Reply Last reply Reply Quote 0
              • D
                Deimos
                last edited by

                here is the proof: it is still running
                passwd2.png

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth

                  @Deimos Very strange this command hangs on your machine!! Please try the following modified command:

                  cat /dev/urandom | tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | fold -w12

                  Again the question: does your FOG Fedora server run on hardware or is it in a VM?

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • D
                    Deimos
                    last edited by

                    Sorry, I’ve skipped that question,

                    FEDORA SERVER 30 a installation from scratch on a Fujitsu Lifebook E556.

                    AdP0q!CK.^mv
                    @ya+JAcjd4N}
                    jLw(SXa6trC8
                    ~lOKDGAD,jDW
                    5{oDNzgkQhF|
                    psA52?h=}9z)
                    ~rNdt<xiHuv~
                    f[:~V%IT@l2;
                    %S(X66~?b)&~
                    &Sv3F(Q7b)hO
                    5*ye-W5Zzp^T
                    =l=ysEO.u)[Q
                    O2Cc78]#EOSB
                    Rx+8?B]_^G6P
                    R)nv%Rx8{:<?
                    ;p5bodM)4CA0
                    R=z{|A-f$8i=
                    D1X8{,oKgz/L
                    %#!y|k%,YV>u
                    I&Xg|P#S2kf|
                    l:Wv)]8BpB[[
                    oPYS7?pZjZOE
                    MMG;waWT/:L3
                    vNsKG}=O+58j
                    N@b<jT0=:,jd
                    BF.)2fbs-}o)
                    5J.Qx:{}641;
                    EMAE#xBWwl]T
                    =sz*M.o,$)Iy
                    ^7xxl8P:IWe~
                    QMQICP54nwrw
                    Tq4hITB[[urA
                    I(-m=R<V,=y2
                    nu7u=5f}g_/&
                    o,8E||[:2:BJ
                    !cw@@lM:@!Ax
                    ]MiYxJ>.X(Z)
                    #nVD=Fxj&mcE
                    ;cTR:]b,)T;M
                    9+O/hXPfI7_o
                    UBr;UCTF3*}V
                    EK.b8&Zx})TD
                    f%bU2aexWYUs
                    j1$sQ&3I5&6A
                    ,9$2qh>%4]B%
                    NUT.^K<-JCL<
                    x/OG1#-qVF*z
                    }7jX=NIKB*q[
                    +w)aY|;E#&*C
                    z%O8@F&2~jXe
                    #]|~(PMI.&9Q
                    (_n+cPmU9oYh
                    0au&]N@Lu}Lj
                    %Pidt=l><X*w
                    M7}Se7~yl]N)
                    G2g-2%Lj5$b?
                    YchkNqmwi16o
                    7(+yD4R08XhO
                    FZt[>Sfhc$W[
                    S4ii)pni}b~%
                    .p}H([26u-8e
                    =9f.;|?Z^%D{
                    8)(d{7!=!$b>
                    NeO-0iK5_FKA
                    PW.axQUBlY7>
                    a~us5&D)[rdz
                    l01eJT|wrqyy
                    HG<kSbT!,e^$
                    iqm:-gBQ(7fL
                    eaCod;|5|>c^
                    PP.z:{dy4~9G
                    QtWR:F<2AzbU
                    BH%9u[^p4b/4
                    &nf690%Fd/If
                    ~77aBZ}3K1d.
                    %&:<BiBb724~
                    aNh<>c@bym5Y
                    E*>oTqXp&j!l
                    Z}C4:N1T<M]r
                    SD$alaq8<at[
                    o.3P!vlJ63)e
                    1q{i1s;H2<y*
                    Jn-D9tG~.?c_
                    RBdlFkx@n|[y
                    9h>t!iH5i6^7
                    EMA0dDAc;hs&
                    18,WgSM{yD2Q
                    Q,C;{!hA[Q$1
                    p-bi*O}[T-d]
                    _wL-4~PmR.RL
                    wp?{|d2-fg,<
                    )-aqYmucw]L~
                    eWj)KXzghc??
                    [uq!r0hG?ob^
                    mRO]}H}j{-Tt
                    Vc~[q(l_St>f
                    |l<g?bBG~VT%
                    6Q]CycUjM(k6
                    cHJU=IY?GNlr
                    =&E5vc>Elyk<
                    >6)U$SAkHqlq
                    BK{/IBf/C=zi
                    ;^1WRl3.7?cL
                    Q?bY<.8c[^S.
                    ()T^XN,6xGN%
                    +&tYg@[3(Un)
                    jU3{E-B^NRju
                    H/l.XfXZR9)X
                    =,g(cP9PUnJD
                    gDsr+WNvM_D.
                    6.c+}:CtdjPj
                    X*mTh=)-Z|-z
                    Occh6!-X}1Dd
                    wjXw]:2v?whZ
                    J,<tVaQ|&h9e
                    l_)bx$lrf#{2
                    -[7~((O:#uvA
                    x$B3)DD#qFmo
                    ]F;u8[F5ol<Q
                    CY,<ie6vZQC&
                    ]&nOW5]8px+9
                    t{sfzf%B)XGR
                    &.irxa9DB[~Q
                    ~*m=Nl:xZ%bV
                    JbTWTwL]Y*|s
                    hhH6-,};LDj7
                    *cC,~havs(YJ
                    uvU<S*-$<^LR
                    &otSTz)dlM-o
                    4R^l%;nd*K|6
                    ~SU/Z|t}]hH_
                    4<4PIi$v&m[O
                    jhiG%EZ)H4Nr
                    fkLk,B1a&*%%
                    MW+LDPU_(QhN
                    6O4Su9YIkHZH
                    @t}(E$bW)oq%
                    N2Y>rx|r@|)9
                    (m;!kTSd,Z6h
                    2BQ-BY?)onW-
                    ]^Kq&L+;OS>O
                    mhSOh;dVa[ZH
                    dD8}z0oOj8aA
                    wv[yLr4*UC28
                    <@n6RrO1m9=}
                    <sYG9dCe&0EJ
                    g#jW&5TXHG~=
                    z+_ZT8KB{H?S
                    RHxIc(}W)cT]
                    Cg9w/d6vZ$.1
                    *F1}&M@{521&
                    R.9l.XduKWX@
                    iOjOm-]E5}Bw
                    mv|Q_e{-M2:[
                    v({G[AxD~Bv}
                    +&:+G]*^;0^g
                    {viuuncIwyJ/
                    <oQ4r+:b)u]y
                    o4xcL:>^Z*(/
                    P,kl/C[d?Vq0
                    Gy]4rG#{d03q
                    bje@jLzY=T2@
                    $~eNsw*r$q,<
                    dHe?wk7@TZRz
                    F}rIrTy,kY--
                    6,Qr!uuR/E,8
                    qLl=Slo/=Qz^
                    w;1b.KEQ{gBl
                    .QtUyc~4FdtD
                    %1x=!+&+3i6V
                    tkq!oqWpBZ{;
                    4d-}l[CC/BvH
                    FY~?P>kn.|d#
                    EvQh[l@,xO:]
                    CBb?5MPV65>Q
                    ZOQG;iXN{[.E
                    CLC)lm}lp10B
                    O:VbM|#EbG:m
                    qaMTYd?QW|QH
                    BgVR%h-(du>Z
                    I-7~}AxQXho|
                    He}53J-8w;!Z
                    {Qz}OzQjid|=
                    Nv,^v0MV4PNa
                    !$d;+e5~FsMd
                    4{QhDPG{~[FH
                    y;AToDISi{Yo
                    +P,A0P6T--?D
                    |Y,,+EtIXy]i
                    w}J.)&)tjsq{
                    0%@?w!_[-I)F
                    Ivp2~uMlT6/Q
                    2DtZXz$EB30!
                    L.E_p!4%h|wU
                    +YBKb8G;a6%$
                    +^3Mz~!(+{~S
                    JGbnYQ1@B>eS
                    )}rNsbu@b*D!
                    <I~-IlQcY%I^
                    VAMNt;#nltYG
                    Hsf!AQ7QTHru
                    BB.y8-LFtV]2
                    c&([%0g5)oKH
                    [>4Rs[VAN5<-
                    Tfvv76qak?xU
                    (#G4vyb6!4be
                    #e1^g=m|m]o8
                    r+[]pnhdv8^e
                    [LLn@9L/K9:?
                    5Z0]P^7>H-[m
                    E*FK+@<:3QtY
                    N9L0s$fhYJ8=
                    ML%f4h]5r=R$
                    ]L-u~oCp}<PQ
                    Ke,E!,C^c1]w
                    ;Ar{jas%|cLm
                    yV/<LOgwKoqd
                    !)xc}?5cz]]e
                    inaFW.vrr@s]
                    OxJDPW?7e;/(
                    NP19=Nog;Zq~
                    /8v(eW,ubb/c
                    qe7$9{4dQO6i
                    !SZs<s-I+zs|
                    }1S&TaxOKZ+r
                    /hi%Mkjj89jS
                    ,z#m*3-/tqKI
                    w[yeM>:z)*kp
                    {$;nf6GR1ckg
                    kD-<Zms;JTf*
                    M#E2#kd>dX12
                    B2Wb(*:]q$f@
                    $b3NJLiZ;!Qa
                    ],:E%L7EvEVN
                    ?P+.Dj1Is4PS
                    gPuaC8e&~AVi
                    h*%3+,_;85HA
                    ge0JGclsjif5
                    )(_t}us!P8fo
                    *{a3N;*<{GU|
                    /$8MdW,eOT[w
                    RiXI~}XX$*;r
                    AOF%Ek>+o^r=
                    NqzA!Z_P$h&k
                    Kp1)R@Xc#YuM
                    t8{xt)<(*P&q
                    }.kA6bb;}Ajs
                    5s@[^S(=,Bz:
                    B:~~/6zfP=Rp
                    TE73Fis.!n4}
                    P33L}CJ$*xNG
                    6.z70zt0)i[%
                    y),Xb@dQ#D]v
                    MgTOZnqtH!AH
                    MFICtuK5yZ+>
                    iriL4yuP$XL+
                    _bUmr7:c4M.g
                    !>7+)cObUj-A
                    crfWky%if#i_
                    NTD58)<]b2Hc
                    !-7~SY1}?MRw
                    JkJ/P+9Hq[xN
                    2<C|Z~{M9_hH
                    q3QcslFB0Ru8
                    nA#}3w9j%asX
                    +jmY|)DrV:AX
                    UpVvi%cJ0Gio
                    }SZ/U4:{%uqi
                    vkrk&c-qw4f=
                    )9<KJGT4gV<#
                    c]S6T%H:9]YK
                    Kx@TM+:{3:<i
                    I}w@9g[se64[
                    nfY-A(r@{jsF
                    ub*uZOpJNZge
                    6oZz}ab9V5>R
                    brNRF%G[q7U%
                    mvVac6Bkt:[|
                    8:#{kr]*#dP:
                    xYkXWxJ#cxG:
                    CO8le_u1.~{Y
                    r[~W#Ojy)oh6
                    =$QbeVcUy{6s
                    abW$}w,kG_P]
                    <uD-J%o7[oeE
                    fzT1)k~K]uWp
                    ,j6I{rL>l0P?
                    NBE7n?8qsAJZ
                    o($vkFM/]vFZ
                    KhC^]6&l&[I,
                    =W|E,(ZnMA@#
                    yB<W-i.sn9|O
                    n0BI4f+8Gf.2
                    bAA+s7Pq!c)K
                    (a3=IF;(E(a+
                    3It*^/4ajx&{
                    WC#=)PvuL_7d
                    ofWe]j~~lR)v
                    4[Sd{^&x@#K5
                    QkTo$agk+xrP
                    {+ZKoBTs1@E&
                    8feIFBRl|iPV
                    L7j:oy*)~>i<
                    %<PFxGUX#UO^
                    >+mIH:cov4ua
                    WJaHV1aETca;
                    >C5P<tRe+1C;
                    |t5%0BDb&Dcx
                    nL-Y94QP/B=!
                    :ten&OS*hCWL
                    #wjW=Ytb7mi?
                    6dEAOYx|f|TT
                    O@Gx4{$&tbVX
                    f7I^~/{%hv#N
                    ^;1Wi=$H&GTL
                    M)AVNjq=Ctd2
                    szuK+]C[HP%;
                    nKH[:(|<u=i,
                    cAL]H,srl)YU
                    H9<[d:[60[GX
                    xs}T;h*FOvr1
                    Zm6n?uD(wWEs
                    .rYG3%%K(hFA
                    >1n;itzz?b+)
                    r%Ne#kUoVI_c
                    Sq{|m!L%~;.4
                    zuC%lZ-iIN#W
                    F|mYl;1Wv|hj
                    h{18Fax/7<7A
                    _V:}pkO{ZuzG
                    pPs7,aeFozT|
                    *[)rRwIO01hM
                    ]<:~^7BGI4X>
                    p[6w]KO5={Jk
                    ;3-oN|0UQx{;
                    USsMj}$/v$=R
                    >uj(/~edcK.^
                    5$heoyML={!a
                    ^s[4H*^U4nN,
                    WT>K?Rj|uT@m
                    h%pg/7VM}u{J
                    ;$>2iss|dz4z
                    48St]pAxkpYd
                    N--Rg{+WZEvB
                    jh&b&onffxsB
                    !0{E3*-re<tZ
                    |x=|}y-j1=S9
                    &mDlg~Z+4t@3
                    (Anhg%-P/Ooy
                    u9DOI-ND+%as
                    a8?5:qu~g.-#
                    4(yV.IbYQ=^h
                    *~,0w.DrPTph
                    Jc(G@61wH<Bl
                    99(zL@+:[(gM
                    @*j-(OVt??KK
                    >;6d36r9c)8.
                    MeUt)/e@)uhv
                    3p]56ldL;y/*
                    4aDO_HN87,:*
                    #09l.Sz((%t5
                    Q6d$A}SbTSJ*
                    <x?:56N3q^[}
                    ymxq&UBS76}:
                    Q:BL1X*8!(_g
                    >QGV};tFeUN?
                    hg|Fj%Pdu]65
                    >NI<S7(]Sk=u
                    5E%Qzr_+^w/;
                    6wC^x7c|9GF9
                    1mIFZ5U2;zB=
                    DHU>?-tv!9u@
                    2P+.7UjrEENQ
                    uLT_g7RC_N2l
                    -fLSTBE|q}?L
                    16KxU;h7&B{?
                    3}oec9?J8o-O
                    @pjRX~q[h8(_
                    jgB{X-M5V_KY
                    JEU}=D*51!JR
                    2:EC}9VmDSvB
                    7x5tXE-9vG<i
                    >n):Txt<sqQX
                    hkkF]#(=|7>4
                    a4<(be8}p-3v
                    b8/=CCC/gYA)
                    3~^]wr|n0L_^
                    mtawxUMr=v.)
                    9Tk#rF&LFJ2x
                    jvgbNwocz65u
                    6o-n%(OxP>}v
                    UrA%$rm.WJc-
                    A2p!)1=b<m:N
                    DYmHbf$Bt7Q8
                    T6rZ3yJ;f#OD
                    #-j=ZgY+C<XA
                    0x7*-$FR|CQo
                    IEKQ3I()<Db5
                    61S[GqWXX-e5
                    z,.T%IFYp*h/
                    @09s#}rM]lFj
                    #m7#0uSiqpv,
                    {hlz|eY*O/e%
                    W7&U#}+tjrhp
                    GJdX#dlmT1eh
                    6Fab?qkea6hF
                    A1q&C=#s.Q1R
                    _dpSSN-p{C.b
                    G@V;!xQ(t0_b
                    Amrp3>z}!?JV
                    [!.cFdbr9Zis
                    :UsEmKomR6Yx
                    }d18Arp1k.[n
                    3iLK:u=HsX(S
                    ?SC2:bjX<JjB
                    h*xZeAlQy8ek
                    Xmr$r~f<Gns}
                    bkwT1V5=WqWp
                    Qv+x<Fw-F<r~
                    Q!(}sLsb(C#d
                    .-IhH!c&2o<H
                    ^u(^VdrrT5F0
                    uFLAmP0=Qk.=
                    3(u7pw!SWK?R
                    b1y_y%+,Z6lE
                    T|3~Gb[~OBFm
                    cfC&Srvn+){;
                    CQikADq8-{@x
                    !@WD:%dKD-_e
                    eiT,y!*Vn_lC
                    V<2KU7ht*L#/
                    GAEX^gfc{+yu
                    bV,Z^[r1N@s)
                    IW2Dc>rU.GBj
                    19JP,*cc8WKc
                    c?M0!fv^aP]d
                    /mowpyO~>9[!
                    0jJK~JD9(3Lp
                    bUy,uJT-1Z)Z
                    <FS]lJ/l.~D)
                    #$7;aa5ybqo|
                    !Z~:>%e;/2w8
                    ?*,UQIs4S5(H
                    Rj*mgYKMUN/~
                    LK<l3WA|IfHa
                    Ln1C{D9ogE$r
                    virqV>/sYRs=
                    }ESC10lLn9Vn
                    tD9/G(C~!&&+
                    -K)N7/<:uutT
                    sE+(#?_9HE@r
                    6WSOE;X5YwAU
                    +sf|+1uA~(4s
                    @Tp*+#AiFZMV
                    K{2EJ00*_w!E
                    ~s^NcA~V$.mR
                    M#7_;V@^&DKi
                    /wo+ViDKU#c6
                    D<;u;]~R7a#?
                    E.VaBtUcuF<u
                    o0cKR(=@(LzT
                    PU9^sqj/y9ay
                    {HQd3+K4A=v=
                    K__SVTIDe<AT
                    Tyz-qvjdT^fm
                    @y;QQ{*,0:!m
                    AAJA~]H_sIm,
                    K$@[NT=*I(nJ
                    ot)9+KstJn]y
                    Sw:FsoX>xxrg
                    BHb:^TOam;-X
                    fO=gH!Q?e4P%
                    +2a6cq3Q;uU>
                    i)j{A_$x#;D{
                    j}fldr>7Yc>T
                    =6|$ok[7dObb
                    V@|cG3nYaC[}
                    uCanJ8Py}ela
                    fOL4[m~:EpBA
                    CWI;:5@E40K&
                    7GEejJm?DnFR
                    V}Y&KDHagS<J
                    y+oRfQbeWKD!
                    hGsj-eyPlTiW
                    [@4[ySZpkzkY
                    B{!R95-KP7}9
                    *rW&.}l{tc>i
                    y$yQ#s.RD&8q
                    oG?gRZ6arh^^
                    ;t0[<635^agC
                    xb_cas<D-q<-
                    m=Ey3Grb]]dJ
                    o+P^4.5)|0-#
                    nc+o08EM.,=7
                    d1BK%hI@1J9G
                    4%[<#?t4st>z
                    EF$!}Rd_n(fd
                    ~Qp)?v&h9cgX
                    /}g>Gyw,PSfx
                    >p2UTEIimjZ1
                    dspq(]8F>xZu
                    j}+6lX-|5H{n
                    L{mtU{5gZg/r
                    vgB0^si:R!z_
                    {%%$b9I6?284
                    P5O3>/z;~Eq~
                    L8AA&]NAG&LQ
                    E,:J!a@]mm1o
                    ktrHu&>/(/Kj
                    44oF8vZg@m@E
                    qR<,MvxD17*2
                    laS@i{mR4J28
                    crAkI^#WV<jP
                    M>^N@t.Wy^kS
                    3L5P,Yp=V=)u
                    Q.yP+eySds5z
                    Ww*Jze8yT0pz
                    }Q<IAPDo>G8G
                    A#A!y^~rW~[S
                    b5VV&5{}TY;W
                    HyqKa@l_Dowe
                    S0>!#VYYI7RF
                    MWf]oV1V9%ah
                    LkhtUB~PdYPK
                    MpT)thO?>jOr
                    &S|IL8$-7=yk
                    HXDVD-(.6XB|
                    }cM=iZW(|mGb
                    T7mZ9[/Lar5l
                    yD<>7hx?PD;B
                    vDK|4jR:o0h.
                    S.b_fnM%g;nW
                    wst-I9Bf4PJ:
                    B5T*o(Z[9ppc
                    g6>U!S-)7A#8
                    nhH-IX!vW%-u
                    !zhYaj+[<>WK
                    0Z2,}WT:k1-)
                    0.E[01Wq.t1Q
                    %K)Ga3VllNNY
                    BEK9&9b_?m^J
                    @CIcs73/*$IP
                    Q@hEbFaF/DAj
                    7G.}pZ+.F?J8
                    :ZRM{?@iW,<>
                    C03XV8J^fz75
                    ssFcc,D}9&,N
                    W{!Pma9}@o[+
                    5+y2yeU#G9NV
                    Id(tR}lic43f
                    e};/8lO*DqHn
                    EuqoFR:#I]x<
                    )y%@=s4<3/+H
                    a_j(57qtjNL{
                    -pLj~r[j^9k=
                    zYK]d+uue=Uz
                    A^1s8r<.UT71
                    $tK6$!S$_[wQ
                    4>+8YD_::;o)
                    #ElNxxB5^h%}
                    9jM9Siu**_8U
                    LR|]379Z0QT6
                    :|kzVW6F,:@U
                    pGrr{:Tx7#q=
                    NQ6h}A4;F5q}
                    NQkdspzh9@v-
                    WI_*~2Yr]Nb?
                    f2ei|sU&:$)Z
                    FIvbv3o$m5GF
                    R^L9$Ikr@Irw
                    A7LO8QXj%[FB
                    |#7b%[QDY2R5
                    I(HU{@fvHCY.
                    3=agIa&0?X%P
                    yfBws1=/v#zq
                    HIF^K:t#?a=v
                    UOFD)=yxUmGz
                    +;QyT1l6I[Gp
                    >]!e}z-ZucI3
                    $*~m_PG*)mnZ
                    qphLTsq:q>JV
                    6Z%VnBg5;GZ,
                    *e.^}BzXNbk5
                    Z,t_Bxa:~0~L
                    8L+_:H6nYt/c
                    rim{B!1(/-tb
                    I*svSe(ZL(YF
                    }&e)/mR2RA[5
                    2bI*mKAtKm7r
                    ##T<7G[?hY!A
                    wG!#-pcdM]:I
                    kWo~c@8yymd|
                    kU^-KBT5z[R^
                    ]S:4r&Sthi{&
                    L~->_qm,{_2~
                    ,r7)Y|plsZ&Y
                    =v?$MUy]lY7k
                    A8|.2Iu*(w}Q
                    kwK!YuKcVz<:
                    m#$C_%Nq+OYG
                    pkf{Y]LPy^w0
                    <DpSw11Csg?8
                    0E-:$d/?;RK;
                    I]b>qg}A>,]h
                    ^cTgqS.DQpBj
                    o4O*PjDTxd^-
                    t>|Z;b57x^3<
                    vFgB^%TJ0D9@
                    ,W7u]>SLg_Li
                    JixrDd#x{XGj
                    %PG![eQa^;^s
                    +C8NQ<5~v6.T
                    u~eGl3ar4>my
                    p!60pQ&%{(]m
                    wvAL+Mqxo{M6
                    bu$q--xxt,#n
                    ^0,ahrwU)_:d
                    nv_I0MYTG+!l
                    XYnjzc[Kq8aP
                    %mQX+_uzvJ%F
                    p<q9|Q$4i4?/
                    PliK0.KN:(C/
                    xz7&fdi^RCWm
                    _:3F3SGHF?S?
                    A#f>?F:TbS5d
                    DTjyzdrC<!S=
                    D%#<+eN][>+)
                    Zw@-0Jkj<l!a
                    WpqHa1#hBGhH
                    y?lXQwcyUWkW
                    %{b[S)#PojU:
                    DEI$TcZ^/]n$
                    /5%ChmS[pY[I
                    9)Td35[hO/pN
                    _;2oy7=0cONb
                    3#3z3g_u4Kdd
                    o?;tsSMz?}ON
                    sTd~A0Yz5>$Q
                    vK;<EGwpAy!L
                    0m[:S3*pm.rm
                    rkPVaE158,w<
                    ,=cb+RlG^*uu
                    [riQwOXiawjw
                    cAp>^+^Q)cW_
                    ,JU-I}henP3;
                    h+X;2[mtj%bf
                    *(;n[1A;V{73
                    QV=VeG}/wyg.
                    VH)_~5N%pU{L
                    ;%rai7O9,%L1
                    z3taw68_L4[K
                    2SW)ldfuPe2x
                    5I^]GZ}q~%X$
                    kJH{w8U;h_Z4
                    %NzwYqwe8y%9
                    ))V2U>ib5?J@
                    EY~c#Wy@i~,m
                    g!SnO7(S9)r-
                    ,F${IQ&{k.:J
                    S7hYFa6mJ@cl
                    X88eUgn&!9Eo
                    6;rf][**|tcb
                    O.)8>-K$}oJ6
                    lR+]zzBijOw!
                    RT9PhOS8;T~p
                    }e=nEmy3.-KR
                    KX7kcOBww8p0
                    /<Z!VgHx4(Mt
                    W@hdxJ%@Gl:8
                    a126}St!@gBX
                    G|0](DKJs1@^
                    0~;|.e/wG*)s
                    5GjH-hj/Mhly
                    j|+xK2YJs8>l
                    -Co,RABoz>?e
                    -Vb|>+_6S(wF
                    O$Q.+{j)MEQY
                    TP?^;WlPMF-X
                    /hgEy6YRPDoQ
                    {vxn73gTwt.6
                    @oLWg#:h2A:_
                    Wmx;+nxZ#aM_
                    *Zp>km|nRS>.
                    RUsCh$c+,=Gu
                    il)Hd)F:iGwk
                    874BK[3gcA|r
                    )SS5xrM*Or=b
                    KFBRWh+aD9l;
                    s%C:8or4Pk^S
                    =O|o;i5@0IkQ
                    )$0S3/]M:=d<
                    =Eb?E(.xbu36
                    IHP*wp&iqhcM
                    8msE~oNq(Ea#
                    1kMEo<Ql1=;f
                    FH{<1{Hu}|a5
                    aB3002yjcH.k
                    o&Q8w?<^qo7#
                    &zuI6j6c;_;E
                    VAP*4F!m@*F*
                    0T(K2fSXy*D<
                    TSo+r8rT7Hz#
                    RE/11^cT]9Fp
                    W0Mvh<YRsCV^
                    U?3)yJw)>X.-
                    w{2o;&+%B8Z+
                    ,up=C/LY~%sB
                    yQ=>aOgO)aj/
                    kH-g9)XOFRzn
                    Jt]gVCL3!_mQ
                    M%qHP.Bm8$Me
                    5;?Pb,Yj[:%)
                    U@9o7<h#w>m-
                    js!pNc_=3>lk
                    (DI&FcPIB^Me
                    u^*^Pfm:4a2u
                    $&9tMkwb#z6s
                    6tHEZ1PJ<u3(
                    J[ZOTSs>v]Ho
                    fbjKn}Z:YxVy
                    XWoIt43IE{U#
                    rj:|WQNfF}Im
                    <aT*i64b7Q!q
                    ESHCO)@27_o<
                    ~|<bI11oT@cx
                    #+~;F>I?P30+
                    4V$6K.E.b$;h
                    qN(#^A/9?:Qa
                    ;3]7N+M{g:z)
                    Fl3iao&QG5ES
                    4~d!R^Js2u@G
                    P$Z!{<rnn/Af
                    o1Dgrrb.jYeO
                    c6+.a53h*9Dn
                    ~I<;{nW![n$$
                    3p6[V.FJ-2KH
                    0a~(R]?<)Z6d
                    $1,ZsNCW+FpG
                    t#rUdHA^MDI-
                    >mpM8H^YqA;7
                    :ne6r6~o/}K[
                    |&zFr.U!qx:x
                    vt@,$C*l0GNF
                    Kl5GH?#)xc0M
                    e@}QWy]Z}f(@
                    *{C)3@QP[V8!
                    EVV4jN*&i(Mv
                    ,Pq3|3&n~D{Q
                    U2D$lpWi}NH#
                    yq2#R|m9kRwU
                    Orsoy&QhX8Jm
                    B~V3VW/ik_Qb
                    &k=JTj%di{yJ
                    3y^yy;1n;:F3
                    57/v!<w4@__1
                    TxnvTMM}V?42
                    O[#-TbeNj~)q
                    vQ(xVUCQoBCr
                    4bsj!ak~bw.$
                    H0M.3hKp<9/n
                    m8r);>_EN+;,
                    0yMA9NFH$K#v
                    UJ8ji?V-@!dg
                    JuK4HU=PFoNL
                    36vN4mJ=H,5M
                    KmH.W,.N,j2H
                    ^9Y$xpdiNJ%0
                    7cM<bc^~VnmZ
                    k+q-r9$nmY=a
                    T_u8,gFA$}IV
                    8TFY>X---XJh
                    ieMv#bLW!+yx
                    umZH:tstW5l$
                    F:!Y&bUSA+Lf
                    V5,d?$[$eY8z
                    )J7_.pxq;e%O
                    eJj?6G<4USM2
                    DCd_SGEDh[1]
                    H^@=pna(x}0f
                    MTNS;/:E^h;,
                    D:@M/[t<b~to
                    w}HFR<|vK:SE
                    g$8+js;-E.R#
                    rFsh~v?^Fn3g
                    7**2+z2&[e(O
                    II^DsM5S*Ef3
                    D3uR{R-]d6mu
                    P#&_5i/B]X<9
                    ^|L7{E(hWt$D
                    _<p>1*iA<suZ
                    yyxRd-8C?bq}
                    rl]dp%VQh~[J
                    m:d;Gs4Rl#<j
                    x1Ww)q5%3paM
                    ]DEPJGIQvxFD
                    gXkw7TS:BS0%
                    DE3u8?L25Um,
                    ;=}EDb(~{qO~
                    e1I7L}=$Uw${
                    >I%&pe$u~/|E
                    Zs<?+h]0dogA
                    ,.08C#*K&xb9
                    dYP3tukF[4Uw
                    Dl/y.z7{@~r9
                    dn+5C1vEB6t.
                    wqJ.UNzk;aqY
                    LkTLaWn%E}ZA
                    F]sq,JoKbNG1
                    FADX#8$Y)V~7
                    ]tWNprH&ppt]
                    IX.Lr&%v/7h}
                    +k]I1iVx{1Ec
                    5Bs[8x(a|~iz
                    VrM6tU(+hi*,
                    1aXS@jjKLFOt
                    )HPm&a|Bq~7J
                    LW)n1V>I|Xod
                    p2v}wujw::,w
                    y-qP):XZx[dp
                    WO)M?S>U]yRW
                    U-n7G=aPh>Q!
                    $^Iz|D:,rU&E
                    ePLL&%0qPzhR
                    #jqz%K-kn&pb
                    ^}e(S*A7[cB*
                    c@rv{ug:MP)T
                    1,,p3}P^:nrq
                    @6Phzlqw]i1L
                    ;|n^F#fupU^+
                    y^!3S$tEctQH
                    b]m[-:1,-44S
                    qZY*VCf*zqe5
                    X!Ialp0OZ1AC
                    %!55!&_dpDP;
                    9zg+eO<:=M:P
                    O!A&KOHAwK)~
                    AF},7x^~bW+u
                    4LqEo}-(:of*
                    _IP6KRvWh5][
                    /T?aqSLALrx%
                    K-MB]QMeE(cO
                    Z0l{^bQcplP~
                    jQDD-PNKz1}K
                    ,REVB/=UO?hS
                    =0AekmUQ_@e[
                    YA<@r_(eS+#v
                    f|x~S6?G<Tsy
                    k[G81qqR-O)Y
                    n=BP2-GO2;)y
                    9wuK}|Pg2AYk
                    K0y>F{z~_0v+
                    u:g-^g:_vR$/
                    j;ucroT=+uT:
                    y8Kfg6{,~0It
                    O,mMT.lmIJq:
                    aK~%94[ql=%c
                    a[xmBlz-q,64
                    8XBhM_im.KW>
                    3~k9-c:Dvl4D
                    5TrIf+BbPF>G
                    xA1{IfId0lxE
                    .CV?t-B3<Ai=
                    ^q*QsW^lNN_J
                    @+>]6f%WpCXO
                    7zj[,!%a)r,9
                    c;[Z//{GolX+
                    n$J]c/f6GEV-
                    !DN-Gx]1/GrK
                    #g7~lyh];lfm
                    y,K{TGpOH-!Y
                    a#<mOh8lXNsn
                    )afEq=l28~{M
                    k7P}DLauJgfC
                    !:G]KKVQ^yP]
                    Ix#caV?VH&*$
                    (hh:o8x&jFR1
                    q/gb)IjN_J#.
                    v)j2PhaABmsR
                    oCUGvw3{e{Jz
                    ;=A~u]B.~9f.
                    E3|r^)>_U.O:
                    hWnd=+NcX:=M
                    [)sH/<lGth?,
                    :M2Easm%gCv1
                    i:*Ow3xzV=iL
                    Den1!Ejs1gW)
                    $FA]3BmsS6Cs
                    rQ@!ROp/#F7t
                    @XzzYg<x04zq
                    fP(FZ2^9>@sY
                    uT/~:1:9;M${
                    tc=t3)VC$>hi
                    &x0hR~q:f@(a
                    a>{)2t7Pbn4[
                    <ds$JAl?d5<~
                    |s3V,iQl4y7j
                    u_X;?,&*Gli4
                    25JXG*f$f]Eu
                    @~1&IM}I,Q,^
                    lO!qOdb*4?>S
                    XY&Pqe#^W=S3
                    c6_dvZ!LD1i9
                    ]G,&R[W<E:l6
                    U,[iU.<6e8Ko
                    go-)/$x44QX{
                    ^bPb$fZd9HqF
                    cxn3!u1ki]c6
                    xu;gK|v+S0;V
                    388}sL2*d56i
                    m(K:oYQd]&FQ
                    CJ/,yg1P:2Q>
                    ZV>1v#6,c_eL
                    BSKBhtSv*z60
                    UpeU%,7>g[1$
                    jaSP/}v=~;yM
                    7q5nb4T|O_Iy
                    d_%it{;/5r&W
                    D>iak9zBQreK
                    jvbn@Z$n!@uy
                    )F)Q+Pn>7!7U
                    6#{:o4Tk-tHA
                    FSV_-uIGsg0y
                    #T+yux8;Zg@N
                    R!QSS(}}%Z)C
                    tU:(9R*PnY;a
                    9[/,gb&pzMa3
                    G@t$0~~F]kZ~
                    @&WN<1xaGUR$
                    >+*A)U.q^zFM
                    Ur(&c4/$Lj$[
                    n^yGmSA3+Z,{
                    UQaCfLe@vz-W
                    8DT6ZI_~Uc~Z
                    [A;)1IU1~HZJ
                    <fkB&U{f+.Vh
                    8W)En0+Dc[sU
                    BFx}YG9q_&3q
                    g~{E]x|CU)Hu
                    $;^}z8k.b|>)
                    QFm#e$+fKhV[
                    QFmb~SnM-e.)
                    PVAhRa)_?M/;
                    !$:CZp6iZV9-
                    ^/%bnN%ehDjG
                    >nk^JU%>Lr+R
                    c%q=pMR66-CZ
                    VPbAn}GOdO0]
                    X$[|7]cr_>/B
                    #Z9LXtdW?OR-
                    q$LM71!_@GlJ
                    FZGL}P)H@8u9
                    _VFHhpq)JPwH
                    bw{O9#{r].OA
                    Frt?{Z,.>h@V
                    CEvU^5*|LqL@
                    8p>0=g,Sw*(~
                    MPB9B<&_I&Pc
                    ?=UTlS]$gY[j
                    3b&hc^0t>MMO
                    7AC|8Y7.8izP
                    1QYR*aV|G,*s
                    q~:R4/6sWI0Z
                    s!F19N4]@xr-
                    (&|-NGFUFkA9
                    i<M}ky?q@4M}
                    +&.Mjs|!+eyS
                    {fhNv3qXWF=j
                    y]kv?P#nr@I%
                    (acya0%M6V,t
                    ~24AsBch;Xc?
                    XmT-}[<R-~*_
                    +rNs2Jr=>u&_
                    #_&g^M*4kz}3
                    ;GeJ!E/%8lJw
                    @TS]edY!S$EQ
                    9@e|9YtqHA=X
                    /YA|U@L5#UDa
                    yZJY-DmN!J}]
                    48.Y_/)ucwO!
                    /3b<?wad?R:M
                    L7&5_m,t#gEX
                    5eVJ{K=<Cdmn
                    R&&dYYpj2~:@
                    iX?d<Up]|;_y
                    2]2JS^>SQDx<
                    ILekU:TX<C<c
                    c&&d_FsWOpN7
                    7>VpWP&>U#Qj
                    *IH@li=)/vAB
                    #YUMlnr{->1(
                    4Rwcu/*Y1&/8
                    ]:$qFL8UW{:;
                    v>{d+i]/V5x2
                    3>Z{Ouj.3=}n
                    9s,/R1?CIjXL
                    ~8<&Vyi!w$#&
                    k2~}E2#48cQ;
                    2K:OdfF-pD~$
                    H}AE*H9}V%SX
                    4SXaf]PG-)H,
                    In(NB}}|9;,J
                    PbXKTKEc-/ad
                    m}R1OdCjxMyg
                    ?WYM/mZ*}44X
                    Yxwdr:dflF?[
                    k<y-px_DB2Z-
                    KqTFA]}cYMOb
                    [qpQON>.tR<&
                    f>^vF^:x%c/#
                    e&uw/1V_v{a@
                    [y3h}rG^o==%
                    ZO;N?CJ<{X-/
                    D?z;CGo>o:20
                    {!PD]l;Q&.7v
                    [?_wx8v45,q=
                    1tc}H/n|;p6<
                    uPAK:5Fb@#X.
                    ->GjZM#ft_Hg
                    MdIH8=PycR?Z
                    &(^~/&#lIGRn
                    Cmd=S3{>q;Nv
                    HCo;2(*[.1~g
                    Db_}noB^_;+j
                    y;Dl1k9:ZeIH
                    3ZSF8GFa+gQi
                    xp7C#h?8FK$k
                    &wep|j#?($iq
                    I.|}YJsijm|k
                    pO%Ln77ze|-3
                    G/^E}d^.*!-5
                    PF<zEDp#Buc=
                    k{;Z(0u],S~X
                    [pk/@42)|q0E
                    BoGV*Rc*pTN!
                    p2<5KBb;q:pq
                    aFyV,]asW2p*
                    5Zk,Xhm,-ZxX
                    BTv|fj}#_/R>
                    ~m~17xz:W,d6
                    t!i]$NSi9%ML
                    .C%EQi$Lc^qd
                    )(H=Pg^|#Z0k
                    o.#>q.TA;{l>
                    jOXmc]43K5Xw
                    @D[Olb-/.8JW
                    XuKTp]S6hOu/
                    
                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @Deimos Well then try: cat /dev/urandom | tr -cd '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | fold -w12 | head -n1

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      D 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        @Sebastian-Roth said in Installation stops during setting up fogproject password:

                        ‘0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~’

                        What about changing the password from the fold -w12 (as without the urandom and head stuff this just continually repeats)

                        What about setting the random password to:

                        cat /dev/urandom | tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | head -c ${1:-12}
                        

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          Deimos @Sebastian Roth
                          last edited by

                          @Sebastian-Roth said in Installation stops during setting up fogproject password:

                          cat /dev/urandom | tr -cd ‘0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~’ | fold -w12 | head -n1

                          7be6ed91-d7bd-4a65-8f61-15815f037dd8-image.png

                          1 Reply Last reply Reply Quote 0
                          • D
                            Deimos @Tom Elliott
                            last edited by Deimos

                            @Tom-Elliott said in Installation stops during setting up fogproject password:

                            cat /dev/urandom | tr -dc ‘0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~’ | head -c ${1:-12}

                            [root@fog-ls15nb ~]# cat /dev/urandom | tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | head -c ${1:-12}
                            (02;(D~#ZFBHtr: Schreibfehler: Broken pipe
                            tr: Schreibfehler
                            cat: Schreibfehler: Broken pipe
                            [root@fog-ls15nb ~]#
                            

                            Just a note: Thanks for the help so far and for your patience.

                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @Deimos
                              last edited by

                              @Deimos said in Installation stops during setting up fogproject password:
                              How about:

                              tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' < /dev/urandom | head -c ${1:-12}

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                Another option that doesn’t seem to loop forever:

                                head /dev/urandom | tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | fold -w12 | shuf -n1
                                

                                What this one does, it breaks at the first new line urandom gives (so much faster return and not infinite loop), pipes that output to tr, folds it to a width of 12 characters, and shuffles the data returned from the fold.

                                Hopefully this may help?

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 1
                                • D
                                  Deimos
                                  last edited by

                                  @Tom-Elliott said in Installation stops during setting up fogproject password:

                                  tr -dc ‘0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~’ < /dev/urandom | head -c ${1:-12}

                                  [root@fog-ls15nb ~]# tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' < /dev/urandom | head -c ${1:-12}
                                  2>}?w0vfI8o]tr: Schreibfehler: Broken pipe
                                  tr: Schreibfehler
                                  [root@fog-ls15nb ~]# 
                                  

                                  Think this works:

                                  [root@fog-ls15nb ~]# head /dev/urandom | tr -dc '0-9a-zA-Z!#$%&()*+,-./:;<=>?@[]^_{|}~' | fold -w12 | shuf -n1
                                  !F!lOldRC)r6
                                  [root@fog-ls15nb ~]# 
                                  

                                  But where can I add/replace this to the installation-script?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @Deimos said in Installation stops during setting up fogproject password:

                                    But where can I add/replace this to the installation-script?

                                    Take a look here: https://github.com/FOGProject/fogproject/blob/master/lib/common/functions.sh#L1261

                                    You find that file in fogproject/lib/common/functions.sh on your system…

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 1
                                    • D
                                      Deimos
                                      last edited by

                                      Thanks, I will try this tomorrow.

                                      1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by

                                        it seems generating passwords in fog has been an issue for a while… be it special characters that need handled or double vs single quotes to contain it…

                                        Lately in my own projects, I opt for very long passwords made from upper & lower case letters and numbers randomly. I’m talking 32, or 64 characters long. Typically I look up the maximum length supported password, and generate one of that length, just letters and numbers.

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        D 1 Reply Last reply Reply Quote 0
                                        • D
                                          Deimos
                                          last edited by Deimos

                                          Works. Well done, everybody.

                                          do
                                                  [[ -z $password || $ret -ne 999 ]] && password=$(head /dev/urandom | tr -cd '0-9a-zA-Z' | fold -w12 | shuf -n1)
                                                  echo -e "$password\n$password" | passwd $username >>$workingdir/error_logs/fog_error_${version}.log 2>&1
                                                  ret=$?
                                                  let cnt+=1
                                              done
                                          

                                          Special thanks to @Sebastian-Roth for patience and to stay in touch.

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Sebastian Roth Moderator
                                            last edited by

                                            @Wayne-Workman said in Installation stops during setting up fogproject password:

                                            it seems generating passwords in fog has been an issue for a while… be it special characters that need handled or double vs single quotes to contain it…
                                            Lately in my own projects, I opt for very long passwords made from upper & lower case letters and numbers randomly. I’m talking 32, or 64 characters long. Typically I look up the maximum length supported password, and generate one of that length, just letters and numbers.

                                            Good point you have there. Early this year we started thinking about moving to better password policy in general. Not using an empty password for mysql, setting a random passphrase for the web UI login and such. As sort of a preperation I committed a change that moves away from the original openssl rand -base64 32 because I thought people wouldn’t even bother about trying to memorize a 32 length password (web UI login). But I got somehow sidetracked by too many other things and never finished what I initially thought about: Having different levels of complexity passwords instead of one fits all.

                                            So we might discuss this now before we change things again.

                                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                            1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post

                                            222

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project