diff src/system-init.pl @ 26:5caff062fd36

removed hg-committer in favor of root.
author Robert McIntyre <rlm@mit.edu>
date Thu, 10 Jan 2013 15:20:27 +0000
parents d956ace7380e
children 819e950ac8cc
line wrap: on
line diff
     1.1 --- a/src/system-init.pl	Thu Jan 10 15:12:34 2013 +0000
     1.2 +++ b/src/system-init.pl	Thu Jan 10 15:20:27 2013 +0000
     1.3 @@ -114,23 +114,15 @@
     1.4  execute("find /.hg -type d -print0 | xargs -0 -L 1 -t chmod 2770");
     1.5  execute("find /.hg -type f -print0 | xargs -0 -L 1 -t chmod 660");
     1.6  
     1.7 -execute("groupadd --force hg-committer");
     1.8 -execute("groupadd --force hg-wheel");
     1.9 -
    1.10 -if (!`id hg-committer`){
    1.11 -    execute("useradd -c hg-committer -d /pkg/hg-committer -g hg-committer -s /bin/bash hg-committer");
    1.12 -}
    1.13 +execute("install -d -o root -g root -m 755 /pkg/skel");
    1.14  
    1.15  execute("chown -Rv root:root /.hg");
    1.16  
    1.17  $pwd = getcwd;
    1.18 -execute("gpasswd --add hg-committer hg-wheel");
    1.19 -execute("gpasswd --add hg-committer users");
    1.20 -execute("gpasswd --add hg-committer install");
    1.21 -execute("ln -sf $pwd/profile  /pkg/hg-committer/.profile");
    1.22 -execute("ln -sf $pwd/hg-wrapper /pkg/hg-committer/");
    1.23 -execute("ln -sf $pwd/save-acls /pkg/hg-committer/");
    1.24 -execute("ln -sf `which hg` /pkg/hg-committer/");
    1.25 +execute("ln -sf $pwd/profile  /pkg/skel/.profile");
    1.26 +execute("ln -sf $pwd/hg-wrapper /pkg/skel/");
    1.27 +execute("ln -sf $pwd/save-acls /pkg/skel/");
    1.28 +execute("ln -sf `which hg` /pkg/skel/");
    1.29  
    1.30  execute("install -o root -g root -m 660 $pwd/hgignore /.hgignore"); 
    1.31  execute("install -o root -g root -m 660 $pwd/hgrc /.hg/");