Office Staff: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The people locked into the tiny office that make the train run.

= Job Description =

The CSC office staff have the following responsibilities:
The CSC office staff have the following responsibilities:
* Follow the [[Office Policies]].
* Follow the [[Office Policies]].
* Participate in [[Office Cleanup]].
* Participate in [[Office Cleanup]].
* Adding new members (fees into blue-lid container in treasurer drawer).
* Updating memberships (fees into blue-lid container in treasurer drawer).
* Answer questions.
* Ask new people their names.
* Ensure that the CSC remains an inviting environment.
* Keep the office open as much as possible.
* Keep the office open as much as possible.
* Keep the office clean at all times.
* Keep the office clean at all times.
* Shame people for leaving their stuff around.
* Shame people for leaving their stuff around.
* Make sure the fridge is always full of pop.
* Adding new members.
* Empty out the paper recycling bin.
* Updating memberships.
* Empty out the blue recycling bin.
* Answer questions.
* Ensure that the CSC remains an inviting environment.
* Ask new people their names.
* Promote discussions about computer science.
* Promote discussions about computer science.
* Spamming CSC propaganda on alt.kingdoms.csc
* Make sure the fridge is always full of pop.
* Empty the small recycling bin into the big ones.


= Features =


The office staff should be aware of:
The office staff should be aware of:


* The IRC channel: #csc on irc.freenode.net.
* The IRC channel: #csc on [https://libera.chat libera.chat]. See [[How to IRC]].
* Printing can be done through MathSoc or MC 3016 (not really).
* Printing can be done through MathSoc from the office terminals, or through [http://www.uwaterloo.ca/uprint uprint] using any computer (submit a job for "Hallway across from MC 3035" for the printer by the vending machines).
* The <tt>office</tt> group, homedir, and mailing list.
* The <tt>office</tt> group, homedir, and mailing list.
* The <tt>audio</tt> group.
* The <tt>audio</tt> group. See [[Music]].
* How to use <tt>ceo</tt>.
* How to use <tt>ceo</tt>.
* <tt>syscom</tt> and <tt>exec</tt> emails.
* <tt>syscom</tt> and <tt>exec</tt> emails.
Line 26: Line 33:
* How to use <tt>ssh</tt>.
* How to use <tt>ssh</tt>.


= Indoctrination =
== How to IRC ==

1. Open up an IRC client, e.g. irssi. Launch irssi in a screen session, which you
can return to later.

$ ssh taurine.csclub.uwaterloo.ca
$ screen irssi

2. In irssi, connect to the freenode network and join our channel.

/connect irc.freenode.net
/join #csc

3. Please set your nickname to your Quest ID so we know who you are.

/nick $YOUR_QUEST_ID

You can register your nickname on the freenode network by messaging NickServ.

/msg NickServ REGISTER password email


Office staff training guide (incomplete):
4. Close your screen session, which you can return to later.
# Become familiar with [[Office Policies]] and the above responsibilities.
# Learn how to add new members and update memberships with [[ceo]].
# Learn how the library checkout system works.
# Learn how the [[music]] system works.
# Learn how the beverage system works.


= raymo's useful bash functions =
CTRL-A CTRL-D


See also: [[Kerberos#raymo's guide to keytabs|keytabs]]
5. Return to your screen session. You will have remained connected to the channel.


Put these in <code>~/.bash_functions</code> for Elsa magic in the air. Disclaimer: Elsa magic works only in the CSC office and only on Christmas Eve.
$ ssh taurine.csclub.uwaterloo.ca -t "screen -r"


# Expire user password
rp() {
# ssh auth1 "sudo -S kadmin.local -q \"modify_principal +needchange $1\""
sudo kadmin.local -q "modify_principal +needchange $1"
}
# Change user password
cpw() {
sudo kadmin.local -q "cpw $1"
}
# Search CSC LDAP
lds() {
ldapsearch -x uid=$1
# Prettier but requires `kinit` before running
# curl --negotiate -su : --service-name ceod https://phosphoric-acid.csclub.uwaterloo.ca:9987/api/members/$1 | jq
}
# Search UW LDAP for name
uws() {
q=$@
ldapsearch -x -h uwldap.uwaterloo.ca -b dc=uwaterloo,dc=ca "cn=$q"
}
# Search UW LDAP for QuestID
wid() {
q=$@
# ldapsearch -x -h uwldap.uwaterloo.ca -b dc=uwaterloo,dc=ca "uid=$q"
curl -s https://phosphoric-acid.csclub.uwaterloo.ca:9987/api/uwldap/$1 | jq
}


[[Category:About]]
[[Category:About]]
[[Category:Office]]

Latest revision as of 22:40, 18 January 2022

The people locked into the tiny office that make the train run.

Job Description

The CSC office staff have the following responsibilities:

  • Follow the Office Policies.
  • Participate in Office Cleanup.
  • Adding new members (fees into blue-lid container in treasurer drawer).
  • Updating memberships (fees into blue-lid container in treasurer drawer).
  • Answer questions.
  • Ask new people their names.
  • Ensure that the CSC remains an inviting environment.
  • Keep the office open as much as possible.
  • Keep the office clean at all times.
  • Shame people for leaving their stuff around.
  • Make sure the fridge is always full of pop.
  • Empty out the paper recycling bin.
  • Empty out the blue recycling bin.
  • Promote discussions about computer science.
  • Spamming CSC propaganda on alt.kingdoms.csc

Features

The office staff should be aware of:

  • The IRC channel: #csc on libera.chat. See How to IRC.
  • Printing can be done through MathSoc from the office terminals, or through uprint using any computer (submit a job for "Hallway across from MC 3035" for the printer by the vending machines).
  • The office group, homedir, and mailing list.
  • The audio group. See Music.
  • How to use ceo.
  • syscom and exec emails.
  • How pop works.
  • How to use ssh.

Indoctrination

Office staff training guide (incomplete):

  1. Become familiar with Office Policies and the above responsibilities.
  2. Learn how to add new members and update memberships with ceo.
  3. Learn how the library checkout system works.
  4. Learn how the music system works.
  5. Learn how the beverage system works.

raymo's useful bash functions

See also: keytabs

Put these in ~/.bash_functions for Elsa magic in the air. Disclaimer: Elsa magic works only in the CSC office and only on Christmas Eve.

# Expire user password
rp() {
#   ssh auth1 "sudo -S kadmin.local -q \"modify_principal +needchange $1\""
    sudo kadmin.local -q "modify_principal +needchange $1"
}

# Change user password
cpw() {
    sudo kadmin.local -q "cpw $1"
}

# Search CSC LDAP
lds() {
    ldapsearch -x uid=$1
    # Prettier but requires `kinit` before running
#   curl --negotiate -su : --service-name ceod https://phosphoric-acid.csclub.uwaterloo.ca:9987/api/members/$1 | jq
}

# Search UW LDAP for name
uws() {
    q=$@
    ldapsearch -x -h uwldap.uwaterloo.ca -b dc=uwaterloo,dc=ca "cn=$q"
}

# Search UW LDAP for QuestID
wid() {
    q=$@
#   ldapsearch -x -h uwldap.uwaterloo.ca -b dc=uwaterloo,dc=ca "uid=$q"
    curl -s https://phosphoric-acid.csclub.uwaterloo.ca:9987/api/uwldap/$1 | jq
}