Changeset a2082e52


Ignore:
Timestamp:
01/11/2021 09:49:34 PM (8 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.1, 11.0, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
29d3017a
Parents:
1e72aaad
Message:

Tweak sed for git server shadow entry

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24102 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gitserver.xml

    r1e72aaad ra2082e52  
    6464<screen role="root"><userinput>groupadd -g &gitgid; git &amp;&amp;
    6565useradd -c "git Owner" -d /home/git -m -g git -s /usr/bin/git-shell -u &gituid; git &amp;&amp;
    66 sed -i '/git/s/git:.*:/git:NP:/' /etc/shadow</userinput></screen>
     66sed -i '/^git:/s/^git:.*:/git:NP:/' /etc/shadow</userinput></screen>
    6767
    6868      <para>
Note: See TracChangeset for help on using the changeset viewer.