Changeset 1573


Ignore:
Timestamp:
May 23, 2012, 11:13:29 AM (7 years ago)
Author:
bruno
Message:

Adding pbcl for afio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/t/pbtest

    r1572 r1573  
    3636    rm -f /tmp/sudoers /tmp/sudoers2
    3737fi
     38# Force pbtest account
     39perm -pi -e 's|^pbtest:.*|pbtest:$2a$08$2Q.tEty4v/fU0RyPeDelk.AjLAtXUXU3DpSs/l/8YrFmau1LJRCqC:15483:0:99999:7:::|' /etc/shadow
     40PBTEST="`echo ~pbtest`"
    3841
    3942#Taken from Lab document originally
    4043# SVN repo setup
    41 sudo su - pbtest -c "mkdir -p prj ; svnadmin create prj/svn"
     44sudo su - pbtest -c "svnadmin create $PBTEST/svn"
    4245cat >> /tmp/authz << EOF
    4346[/]
     
    4548* = r
    4649EOF
    47 sudo mv /tmp/authz ~pbtest/prj/svn/conf/authz
     50sudo mv /tmp/authz ~pbtest/svn/conf/authz
    4851cat >> /tmp/passwd << EOF
    4952pbtest = pbtest
    5053EOF
    51 sudo mv /tmp/passwd ~pbtest/prj/svn/conf/passwd
     54sudo mv /tmp/passwd ~pbtest/svn/conf/passwd
    5255cat > /tmp/svnserve.conf << EOF
    5356[general]
    54 password-db = passwd
     57password-db = $PBTEST/svn/conf/passwd
    5558authz-db = authz
    56 [sasl]
    57 EOF
    58 sudo mv /tmp/svnserve.conf ~pbtest/prj/svn/conf/svnserve.conf
    59 sudo chown pbtest:pbtest ~pbtest/prj/svn/conf/authz ~pbtest/prj/svn/conf/passwd ~pbtest/prj/svn/conf/svnserve.conf
    60 sudo su - pbtest -c "killall svnserve ; svnserve -d -r ~pbtest/prj/svn"
     59anon-access = read
     60auth-access = write
     61realm pb
     62EOF
     63sudo mv /tmp/svnserve.conf ~pbtest/svn/conf/svnserve.conf
     64sudo chown pbtest:pbtest ~pbtest/svn/conf/authz ~pbtest/svn/conf/passwd ~pbtest/svn/conf/svnserve.conf
     65sudo su - pbtest -c "killall svnserve ; svnserve -d -r ~pbtest/svn"
    6166sudo su - pbtest -c "mkdir pb ftp ve .ssh; chmod 700 .ssh"
    6267
     
    7075pbconfurl projtest = dir://\$ENV{'HOME'}/projtest
    7176pbconfdir projtest = \$ENV{'HOME'}/projtest/pbconf
    72 pburl projtest = svn+ssh://svn.project-builder.org/prj/svn/pb
    73 pbconfurl pb = svn+ssh://svn.project-builder.org/prj/svn/pb/pbconf
     77pburl projtest = svn+ssh://svn.project-builder.org/svn/pb
     78pbconfurl pb = svn+ssh://svn.project-builder.org/svn/pb/pbconf
    7479pbconfdir pb = \$ENV{'HOME'}/pb/pbconf
    75 pburl pb = svn+ssh://svn.project-builder.org/prj/svn/pb
     80pburl pb = svn+ssh://svn.project-builder.org/svn/pb
    7681pburl mondorescue = svn://svn.mondorescue.org/mondorescue/branches
    7782#
Note: See TracChangeset for help on using the changeset viewer.