Opened 3 years ago
Closed 3 years ago
#26 closed task (fixed)
Create ssh and Trac account(s) for Code Positive
Reported by: | chris | Owned by: | chris |
---|---|---|---|
Priority: | major | Milestone: | Maintenance |
Component: | crin1 | Version: | |
Keywords: | Cc: | peter, jenny, gillian, mori | |
Estimated Number of Hours: | 0.25 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0.42 |
Description
Ticket to document the task and the time adding accounts ot the servers for Peter.
Change History (10)
comment:1 follow-up: ↓ 4 Changed 3 years ago by peter
comment:2 Changed 3 years ago by peter
peter brownell greenman@codepositive.com On Mon, 6 Jul 2015 at 16:53 Peter Brownell <greenman@codepositive.com> wrote: > robert castelo robert@codepositive.com > seth havens seth@codepositive.com > ben sassen ben@codepositive.com > mori sugimoto mori@codepositive.com > anthony albertyn anthony@codepositive.com > > On Mon, 6 Jul 2015 at 16:52 CRIN Trac <trac@trac.crin.org> wrote: > >> #26: Add ssh account(s) for Code Positive >> -----------------------------+----------------------------------------- >> Reporter: chris | Owner: chris >> Type: task | Status: new >> Priority: major | Milestone: Maintenance >> Component: crin1 | Version: >> Keywords: | Estimated Number of Hours: 0.25 >> Add Hours to Ticket: 0 | Billable?: 1 >> Total Hours: 0 | >> -----------------------------+----------------------------------------- >> Ticket to document the task and the time adding accounts ot the servers >> for Peter. >> >> -- >> Ticket URL: <https://trac.crin.org.archived.website/trac/ticket/26> >> CRIN Trac <https://trac.crin.org.archived.website/trac> >> Trac project for CRIN website and servers. >> >
comment:3 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0 to 0.25
- Total Hours set to 0.25
TICKET SUMMARY: This documents to steps taken to ssh add accounts for Peter to the servers.
On Crin1:
sudo -i export NEWUSER="peter" adduser --disabled-password $NEWUSER adduser $NEWUSER sudo mkdir /home/$NEWUSER/.ssh touch /home/$NEWUSER/.ssh/authorized_keys chmod 600 /home/$NEWUSER/.ssh/authorized_keys chmod 700 /home/$NEWUSER/.ssh chown -R $NEWUSER:$NEWUSER /home/$NEWUSER/.ssh cd /home/$NEWUSER/.ssh vi ssh2.pub ssh-keygen -i -f ssh2.pub >> authorized_keys
Repeat the above on Crin2.
Peter -- could you check this is all OK and you have access?
- ssh peter@crin1.crin.org
- ssh peter@crin2.crin.org
Peter -- are you happy adding accounts for others or would you like me to do this?
comment:4 in reply to: ↑ 1 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0 to 0.05
- Summary changed from Add ssh account(s) for Code Positive to Create ssh and Trac account(s) for Code Positive
- Total Hours changed from 0.25 to 0.3
TICKET SUMMARY: Creation of Trac accounts for Code Positive.
Peter -- would you like me to create Trac accounts using the following usernames or would you like to do it yourself following the documentation here?
Replying to peter:
robert
seth
ben
mori
anthony
peter
comment:5 Changed 3 years ago by peter
Hi Chris. Let me get Mori to send you his key. I am going to be away next week, and am running through my tasks and may not get the time. If you can add Mori, then we can do the rest. Thanks On Mon, 6 Jul 2015 at 17:13 CRIN Trac <trac@trac.crin.org> wrote: > #26: Add ssh account(s) for Code Positive > -----------------------------------+----------------------------------- > Reporter: chris | Owner: chris > Type: task | Status: new > Priority: major | Milestone: Maintenance > Component: crin1 | Version: > Resolution: | Keywords: > Estimated Number of Hours: 0.25 | Add Hours to Ticket: 0.25 > Billable?: 1 | Total Hours: > -----------------------------------+----------------------------------- > Changes (by chris): > > * hours: 0 => 0.25 > * totalhours: => 0.25 > > > Comment: > > TICKET SUMMARY: This documents to steps taken to `ssh` add accounts for > Peter to the servers. > > On [[Crin1]]: > > {{{ > sudo -i > export NEWUSER="peter" > adduser --disabled-password $NEWUSER > adduser $NEWUSER sudo > mkdir /home/$NEWUSER/.ssh > touch /home/$NEWUSER/.ssh/authorized_keys > chmod 600 /home/$NEWUSER/.ssh/authorized_keys > chmod 700 /home/$NEWUSER/.ssh > chown -R $NEWUSER:$NEWUSER /home/$NEWUSER/.ssh > cd /home/$NEWUSER/.ssh > vi ssh2.pub > ssh-keygen -i -f ssh2.pub >> authorized_keys > }}} > > Repeat the above on [[Crin2]]. > > Peter -- could you check this is all OK and you have access? > > * `ssh peter@crin1.crin.org` > * `ssh peter@crin2.crin.org` > > Peter -- are you happy adding accounts for others or would you like me to > do this? > > -- > Ticket URL: <https://trac.crin.org.archived.website/trac/ticket/26#comment:3> > CRIN Trac <https://trac.crin.org.archived.website/trac> > Trac project for CRIN website and servers. >
comment:6 Changed 3 years ago by peter
Hi Chris We will add the accounts. Thanks On Mon, 6 Jul 2015 at 17:21 CRIN Trac <trac@trac.crin.org> wrote: > #26: Create ssh and Trac account(s) for Code Positive > -----------------------------------+----------------------------------- > Reporter: chris | Owner: chris > Type: task | Status: new > Priority: major | Milestone: Maintenance > Component: crin1 | Version: > Resolution: | Keywords: > Estimated Number of Hours: 0.25 | Add Hours to Ticket: 0.05 > Billable?: 1 | Total Hours: 0.25 > -----------------------------------+----------------------------------- > Changes (by chris): > > * hours: 0 => 0.05 > * totalhours: 0.25 => 0.3 > > > Comment: > > TICKET SUMMARY: Creation of Trac accounts for Code Positive. > > Peter -- would you like me to create Trac accounts using the following > usernames or would you like to do it yourself following the documentation > here? > > - https://trac.crin.org.archived.website/trac/wiki/Trac#CreateanTracaccount > > Replying to [comment:1 peter]: > > > > robert > > seth > > ben > > mori > > anthony > > peter > > -- > Ticket URL: <https://trac.crin.org.archived.website/trac/ticket/26#comment:4> > CRIN Trac <https://trac.crin.org.archived.website/trac> > Trac project for CRIN website and servers. >
comment:7 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0 to 0.07
- Total Hours changed from 0.3 to 0.37
Adding accounts for Mori on Crin1 and Crin2:
export NEWUSER="mori" adduser --disabled-password $NEWUSER adduser $NEWUSER sudo mkdir /home/$NEWUSER/.ssh touch /home/$NEWUSER/.ssh/authorized_keys chmod 600 /home/$NEWUSER/.ssh/authorized_keys chmod 700 /home/$NEWUSER/.ssh chown -R $NEWUSER:$NEWUSER /home/$NEWUSER/.ssh
comment:8 Changed 3 years ago by chris
- Add Hours to Ticket changed from 0 to 0.05
- Total Hours changed from 0.37 to 0.42
comment:9 Changed 3 years ago by peter
Users on Crin2 also need a ~/.my.cnf file containing the following info:
[client] host=crin1 ssl-cipher=DHE-RSA-AES256-SHA ssl-ca=/etc/ssl/cacert/cacert.pem ssl-cert=/etc/ssl/cacert/crin1_cert.pem ssl-key=/etc/ssl/cacert/crin1_yassl_privatekey.pem
This will allow drush to access the database.
comment:10 Changed 3 years ago by chris
- Cc mori added
- Resolution set to fixed
- Status changed from new to closed