Ticket #534 (closed maintenance: fixed)

Opened 4 years ago

Last modified 3 years ago

Add accounts for Ben

Reported by: chris Owned by: chris
Priority: blocker Milestone: Maintenance
Component: Trac Keywords:
Cc: ed, benj Estimated Number of Hours: 0.25
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 1.0

Description

Ben is a new member of the TTech team and accounts need setting up for him, this is a ticket to track the time taken to do this.

Change History

comment:1 Changed 4 years ago by chris

  • Cc benj added
  • Add Hours to Ticket changed from 0.0 to 0.5
  • Status changed from new to closed
  • Resolution set to fixed
  • Total Hours changed from 0.0 to 0.5

Trac

Following the docs on wiki:TracUserAdmin which is linked from the main Trac info page, wiki:TransitionTrac this was done on wiki:PenguinServer, we already have a username ben so I used benj, hope that is OK:

sudo -i
su-trac
export NEWTRACUSER=benj
trac-admin /web/tech.transitionnetwork.org/trac permission add $NEWTRACUSER admin
htpasswd /web/tech.transitionnetwork.org/.htpasswd $NEWTRACUSER 

Since the server doesn't have apache installed there was no htpasswd, so it was copied from another machine to /web/tech.transitionnetwork.org/bin/.

Then the two final steps documented at wiki:TracUserAdmin#AddanewTracuser were followed and the documentation was updated.

Mediawiki

An account was created following the instructions on the wiki, https://wiki.transitionnetwork.org/TransitionWiki:About#Account_Creation

Pwiki

An account was created following the documentation on the wiki:PiwikServer#Addingasite page and Ben was given view access to all the sites.

comment:2 Changed 4 years ago by chris

  • Milestone set to Maintenance

comment:3 Changed 4 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Total Hours changed from 0.5 to 0.75

I have added Ben's ssh key to /home/tn.ftp/.ssh/authorized_keys and I also needed to add the lshellg group to this line in /etc/ssh/sshd_config:

AllowGroups sudo lshellg

And restart ssh.

comment:4 Changed 4 years ago by chris

I also had to reset the tn.ftp password -- if anyone needs the new one please let me know.

comment:5 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.05
  • Total Hours changed from 0.75 to 0.8

I have sent the reset tn.ftp password to Ben.

comment:6 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.15
  • Total Hours changed from 0.8 to 0.95
  • Type changed from defect to maintenance

I have had some email correspondence with Ben trying to get ssh keys working for him, I think he might have been getting the public key ~/.ssh/id_rsa.pub confused with the private key ~/.ssh/id_rsa in the cyberduck settings?

comment:7 Changed 3 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.05
  • Total Hours changed from 0.95 to 1.0

The ssh client, in this case cyberduck, needs to know where the private key is.

The public key resides on the server, the server is all set up as it has been confirned to work on the command line.

For help with configuring cyberduck see:

http://trac.cyberduck.ch/wiki/help/en/howto/sftp

For a overview of public key cryptography see:

https://en.wikipedia.org/wiki/Public-key_cryptography

Note: See TracTickets for help on using tickets.