Jump to: navigation, search

Difference between revisions of "Modeling Project Releng/Component Creation/Build Server Setup"

(Add new component)
m (Add new component(s))
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
<table><tr><td>
 
<table><tr><td>
 
  for newuser in ''newuser'' ''anotheruser''; do \
 
  for newuser in ''newuser'' ''anotheruser''; do \
   /usr/sbin/adduser $newuser; \
+
   /usr/sbin/useradd -G www -p ${newuser}1 $newuser; \
  /usr/sbin/usermod -G www -p ${newuser}1 $newuser; \
+
 
  done
 
  done
 
</td></tr></table>
 
</td></tr></table>
Line 16: Line 15:
 
<table><tr><td>
 
<table><tr><td>
  
  /usr/sbin/[http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/addcomponent.sh?root=Modeling_Project&content-type=text%2Fplain&view=co addcomponent] emft servus jcrm ecoretools mint
+
  /usr/sbin/[http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/addcomponent.sh?root=Modeling_Project&content-type=text%2Fplain&view=co addcomponent] emft servus jcrm ecoretools mint emfatic
 
  /usr/sbin/[http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/addcomponent.sh?root=Modeling_Project&content-type=text%2Fplain&view=co addcomponent] mdt ocltools  
 
  /usr/sbin/[http://dev.eclipse.org/viewcvs/index.cgi/releng-common/server-config/emft.eclipse.org/addcomponent.sh?root=Modeling_Project&content-type=text%2Fplain&view=co addcomponent] mdt ocltools  
  

Latest revision as of 15:26, 14 November 2007

Add new user

As root:

for newuser in newuser anotheruser; do \
  /usr/sbin/useradd -G www -p ${newuser}1 $newuser; \
done

Add new component(s)

As root:

/usr/sbin/addcomponent emft servus jcrm ecoretools mint emfatic
/usr/sbin/addcomponent mdt ocltools 

Edit firewall

As root, add a line such as this to the firewall, then reload it.

/sbin/iptables -I INPUT -p tcp -s newhost_or_IP --dport 22 -j ACCEPT # newuser (newcomponent)

Announcement

Finally, send the user an email or IM with his new .htaccess and ssh usernames/passwords.