Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Modeling Project Releng/Component Creation/Build Server Setup"
m (→Add new user) |
m (→Add new component(s)) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Add new user == | == Add new user == | ||
− | + | As root: | |
− | + | ||
− | for newuser in ''newuser''; do \ | + | <table><tr><td> |
− | + | for newuser in ''newuser'' ''anotheruser''; do \ | |
− | + | /usr/sbin/useradd -G www -p ${newuser}1 $newuser; \ | |
done | done | ||
</td></tr></table> | </td></tr></table> | ||
− | == Add new component == | + | == Add new component(s) == |
+ | |||
+ | As root: | ||
<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 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 | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</td></tr></table> | </td></tr></table> | ||
− | |||
== Edit firewall == | == Edit firewall == | ||
+ | |||
+ | As root, add a line such as this to the firewall, then reload it. | ||
<table><tr><td> | <table><tr><td> | ||
/sbin/iptables -I INPUT -p tcp -s ''newhost_or_IP'' --dport 22 -j ACCEPT # ''newuser'' (''newcomponent'') | /sbin/iptables -I INPUT -p tcp -s ''newhost_or_IP'' --dport 22 -j ACCEPT # ''newuser'' (''newcomponent'') | ||
</td></tr></table> | </td></tr></table> | ||
− | |||
== Announcement == | == Announcement == | ||
Line 40: | Line 33: | ||
− | [[Category:Releng]] [[Category:EMFT]] | + | [[Category:Releng]] [[Category:EMFT]] [[Category:Modeling]] |
− | [[Category:Modeling]] | + |
Latest revision as of 16: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.