Browse Source

Bugfix/broken link (#88)

* fix broken links in passt committee

* fix broken exam links
Cian Butler 5 years ago
committed by GitHub
12 changed files with 625 additions and 105 deletions
  1. +15
  2. +15
  3. +16
  4. +12
  5. +16
  6. +12
  7. +11
  8. +231
  9. +289
  10. +1
  11. +5
  12. +2

+ 15
- 15
source/about/past-committees/the-committee-2007-2008/ View File

@@ -4,39 +4,39 @@ title: 'The Committee 2007-2008'


* [Andrew Harford ( receive )](../../about/contact/receive)
* [Andrew Harford ( receive )](../../contact/receive)


* [Kevin Fox ( undone )](../../about/contact/undone)
* [Kevin Fox ( undone )](../../contact/undone)


* [Amy ( amy )](../../about/contact/amy)
* [<span style="text-decoration: line-through;">Ashley Samuel Dooley Martin ( mythe )</span>](../../about/contact/mythe)
* [Amy ( amy )](../../contact/amy)
* [<span style="text-decoration: line-through;">Ashley Samuel Dooley Martin ( mythe )</span>](../../contact/mythe)

<span>**Events Officer:**</span>

* [Kat Farrell ( angelkat )](../../about/contact/angelkat)
* [Kat Farrell ( angelkat )](../../contact/angelkat)

<span>**Public Relations Officer:**</span>

* [Damien Rhatigan ( dano )](../../about/contact/dano)
* [Damien Rhatigan ( dano )](../../contact/dano)

<span>**System Administrators:**</span>

* [Andrew Martin ( werdz )](../../about/contact/werdz)
* [Cian Brennan ( lil_cain )](../../about/contact/lil_cain)
* [Diarmuid Bourke ( drag0n )](../../about/contact/drag0n)
* [Andrew Martin ( werdz )](../../contact/werdz)
* [Cian Brennan ( lil_cain )](../../contact/lil_cain)
* [Diarmuid Bourke ( drag0n )](../../contact/drag0n)


* [Richard Dalton ( d_fens )](../../about/contact/d_fens)
* [Richard Dalton ( d_fens )](../../contact/d_fens)

<span>**Education Officers:**</span>

* [Padraig O'Connor ( landa2 )](../../about/contact/landa2)
* [Eoghan Cotter ( johan )](../../about/contact/johan)
* [David Ó Laighenáin ( coconut )](../../about/contact/coconut)
* [<span style="text-decoration: line-through;">Matthew Barrington ( moju )</span>](../../about/contact/moju)
* [<span style="text-decoration: line-through;">Declan Whelan ( castle )</span>](../../about/contact/castle)
* [Padraig O'Connor ( landa2 )](../../contact/landa2)
* [Eoghan Cotter ( johan )](../../contact/johan)
* [David Ó Laighenáin ( coconut )](../../contact/coconut)
* [<span style="text-decoration: line-through;">Matthew Barrington ( moju )</span>](../../contact/moju)
* [<span style="text-decoration: line-through;">Declan Whelan ( castle )</span>](../../contact/castle)

+ 15
- 15
source/about/past-committees/the-committee-2008-2009/ View File

@@ -4,42 +4,42 @@ title: 'The Committee 2008-2009'


* [Kat Farrell ( angelkat )](../../about/contact/angelkat)
* [<span style="text-decoration: line-through;">Robert O'Reilly ( robby )</span>](../../about/contact/robby)
* [Kat Farrell ( angelkat )](../../contact/angelkat)
* [<span style="text-decoration: line-through;">Robert O'Reilly ( robby )</span>](../../contact/robby)


* [Damian Rhatigan ( dano )](../../about/contact/dano)
* [Damian Rhatigan ( dano )](../../contact/dano)


* [Leah Doyle ( bambi )](../../about/contact/bambi)
* [Leah Doyle ( bambi )](../../contact/bambi)

<span>**Events Officer:**</span>

* [Lotta Mikkonen ( attol )](../../about/contact/attol)
* [Lotta Mikkonen ( attol )](../../contact/attol)

<span>**Public Relations Officer:**</span>

* [Caroline Fuery ( carri )](../../about/contact/carri)
* [<span style="text-decoration: line-through;">John Needham ( colossus )</span>](../../about/contact/colossus)
* [Caroline Fuery ( carri )](../../contact/carri)
* [<span style="text-decoration: line-through;">John Needham ( colossus )</span>](../../contact/colossus)

<span>**First Year Representative**</span>

* [Emma Gallagher ( emma )](../../about/contact/emma)
* [Emma Gallagher ( emma )](../../contact/emma)

<span>**System Administrators:**</span>

* [Eoghan Cotter ( johan )](../../about/contact/johan)
* [Cian Brennan ( lil_cain )](../../about/contact/lil_cain)
* [Andrew Harford ( receive )](../../about/contact/receive)
* [Eoghan Cotter ( johan )](../../contact/johan)
* [Cian Brennan ( lil_cain )](../../contact/lil_cain)
* [Andrew Harford ( receive )](../../contact/receive)


* [Andrew Martin ( werdz )](../../about/contact/werdz)
* [Andrew Martin ( werdz )](../../contact/werdz)

<span>**Education Officers:**</span>

* [Seamus Ronan ( train )](../../about/contact/train)
* [<span style="text-decoration: line-through;">Seán Hand ( revenant )</span>](../../about/contact/revenant)
* <span style="text-decoration: line-through;">G[avin Tubritt ( gmblitis )](../../about/contact/gmblitis)</span>
* [Seamus Ronan ( train )](../../contact/train)
* [<span style="text-decoration: line-through;">Seán Hand ( revenant )</span>](../../contact/revenant)
* <span style="text-decoration: line-through;">G[avin Tubritt ( gmblitis )](../../contact/gmblitis)</span>

+ 16
- 16
source/about/past-committees/the-committee-2009-2010/ View File

@@ -4,43 +4,43 @@ title: 'The Committee 2009-2010'


* [Lotta Mikkonen ( attol )](../../about/contact/attol)
* [Lotta Mikkonen ( attol )](../../contact/attol)


* [Emma Gallagher ( emma )](../../about/contact/emma)
* [Emma Gallagher ( emma )](../../contact/emma)


* [Seán Hand ( revenant )](../../about/contact/revenant)
* [Seán Hand ( revenant )](../../contact/revenant)

<span>**Events Officer:**</span>

* [<span style="text-decoration: line-through;">Caroline Fuery ( carri )</span>](../../about/contact/carri)
* [Stephanie Coleman ( steph )](../../about/contact/steph)
* [<span style="text-decoration: line-through;">Caroline Fuery ( carri )</span>](../../contact/carri)
* [Stephanie Coleman ( steph )](../../contact/steph)

<span>**Public Relations Officer:**</span>

* [<span style="text-decoration: line-through;">Daniel Fox ( maiden )</span>](../../about/contact/maiden)
* [<span style="text-decoration: line-through;">Daniel Fox ( maiden )</span>](../../contact/maiden)

<span>**First Year Representative**</span>

* [David Glennon ( azrael )](../../about/contact/azrael)
* [David Glennon ( azrael )](../../contact/azrael)

<span>**System Administrators:**</span>

* [Eoghan Cotter ( johan )](../../about/contact/johan)
* [Alan Walsh ( sonic )](../../about/contact/sonic)
* [<span style="text-decoration: line-through;">David Ó Laigheanáin (coconut)</span>](../../about/contact/coconut)
* [Andrew Martin ( werdz )](../../about/contact/werdz)
* [Eoghan Cotter ( johan )](../../contact/johan)
* [Alan Walsh ( sonic )](../../contact/sonic)
* [<span style="text-decoration: line-through;">David Ó Laigheanáin (coconut)</span>](../../contact/coconut)
* [Andrew Martin ( werdz )](../../contact/werdz)


* [Kat Farrell ( angelkat )](../../about/contact/angelkat)
* [Kat Farrell ( angelkat )](../../contact/angelkat)

<span>**Education Officers:**</span>

* [Diamuid McManus ( elephant )](../../about/contact/elephant)
* [Gautam Wadhwa ( gw )](../../about/contact/gw)
* [<span style="text-decoration: line-through;">Austin Halpin ( haus )</span>](../../about/contact/haus)
* [Craig Gavagan ( creadak )](../../about/contact/creadak)
* [Diamuid McManus ( elephant )](../../contact/elephant)
* [Gautam Wadhwa ( gw )](../../contact/gw)
* [<span style="text-decoration: line-through;">Austin Halpin ( haus )</span>](../../contact/haus)
* [Craig Gavagan ( creadak )](../../contact/creadak)

+ 12
- 12
source/about/past-committees/the-committee-2010-2011/ View File

@@ -4,39 +4,39 @@ title: 'The Committee 2010-2011'


* [Lotta Mikkonen (attol)](../../about/contact/attol)
* [Lotta Mikkonen (attol)](../../contact/attol)


* [Nina Hanzlikova (geekity)](../../about/contact/geekity)
* [Nina Hanzlikova (geekity)](../../contact/geekity)


* [Conor Forde (fordy)](../../about/contact/fordy)
* [Conor Forde (fordy)](../../contact/fordy)

<span>**Events Officer:**</span>

* [Aisling Mulholland (crash)](../../about/contact/crash)
* [Aisling Mulholland (crash)](../../contact/crash)

<span>**Public Relations Officer:**</span>

* [Carri Fuery (carri)](../../about/contact/carri)
* [Carri Fuery (carri)](../../contact/carri)

<span>**First Year Representative**</span>

* [Dave Larkan (tziegler)](../../about/contact/tziegler)
* [Dave Larkan (tziegler)](../../contact/tziegler)

<span>**System Administrators:**</span>

* [James Reilly (fun)](../../about/contact/fun)
* [Austin Halpin (haus)](../../about/contact/haus)
* <span style="text-decoration: line-through;">[Seamus Ronan (train)](../../about/contact/train)</span>
* [James Reilly (fun)](../../contact/fun)
* [Austin Halpin (haus)](../../contact/haus)
* <span style="text-decoration: line-through;">[Seamus Ronan (train)](../../contact/train)</span>


* [Craig Gavagan MacEntee (creadak)](../../about/contact/creadak)
* [Craig Gavagan MacEntee (creadak)](../../contact/creadak)

<span>**Education Officers:**</span>

* [Shane Stacey (isaac702)](../../about/contact/isaac702)
* [Paul Bunbury (bunbun)](../../about/contact/bunbun)
* [Shane Stacey (isaac702)](../../contact/isaac702)
* [Paul Bunbury (bunbun)](../../contact/bunbun)

+ 16
- 16
source/about/past-committees/the-committee-2011-2012/ View File

@@ -4,43 +4,43 @@ title: 'The Committee 2011-2012'


* [Dave Larkan (tziegler)](../../about/contact/tziegler)
* [Dave Larkan (tziegler)](../../contact/tziegler)


* [<span style="text-decoration: line-through;">Lotta Mikkonen (attol)</span>](../../about/contact/attol)
* [Niall Gaffney (gamma)](../../about/contact/gamma)
* [<span style="text-decoration: line-through;">Lotta Mikkonen (attol)</span>](../../contact/attol)
* [Niall Gaffney (gamma)](../../contact/gamma)


* [Nina Hanzlikova (geekity)](../../about/contact/geekity)
* [Nina Hanzlikova (geekity)](../../contact/geekity)

**Events Officer:**

* [Ciaran McNally (mak)](../../about/contact/mak)
* [Ciaran McNally (mak)](../../contact/mak)

**Public Relations Officer:**

* [<span style="text-decoration: line-through;">Meabh Landers (timelady)</span>](../../about/contact/timelady)
* [Triona Barrow (polka)](../../about/contact/polka)
* [<span style="text-decoration: line-through;">Meabh Landers (timelady)</span>](../../contact/timelady)
* [Triona Barrow (polka)](../../contact/polka)

**First Year Representative**

* [Triona Barrow (polka)](../../about/contact/polka)
* [Triona Barrow (polka)](../../contact/polka)

**System Administrators:**

* [<span style="text-decoration: line-through;">Paul Bunbury (bunbun)</span>](../../about/contact/bunbun)
* [James Reilly (fun)](../../about/contact/fun)
* [Austin Halpin (haus)](../../about/contact/haus)
* [Shane Stacey (isaac702)](../../about/contact/isaac702)
* [<span style="text-decoration: line-through;">Paul Bunbury (bunbun)</span>](../../contact/bunbun)
* [James Reilly (fun)](../../contact/fun)
* [Austin Halpin (haus)](../../contact/haus)
* [Shane Stacey (isaac702)](../../contact/isaac702)


* [Vadim Clyne-Kelly (vadimck)](../../about/contact/vadimck)
* [Vadim Clyne-Kelly (vadimck)](../../contact/vadimck)

**Education Officers:**

* [<span style="text-decoration: line-through;">Shane Stacey (isaac702)</span>](../../about/contact/isaac702)
* [Craig Duff (duff)](../../about/contact/duff)
* [Eimear Tyrell (beimear)](../../about/contact/beimear)
* [<span style="text-decoration: line-through;">Shane Stacey (isaac702)</span>](../../contact/isaac702)
* [Craig Duff (duff)](../../contact/duff)
* [Eimear Tyrell (beimear)](../../contact/beimear)

+ 12
- 12
source/about/past-committees/the-committee-2012-2013/ View File

@@ -4,39 +4,39 @@ title: "The Committee 2012-2013\t"


* [James Reilly (fun)](../../about/contact/fun)
* [James Reilly (fun)](../../contact/fun)


* [Robert Devereux (kylar)](../../about/contact/kylar)
* [Robert Devereux (kylar)](../../contact/kylar)


* [Richie Walsh (koffee)](../../about/contact/koffee)
* [Richie Walsh (koffee)](../../contact/koffee)

**Events Officer:**

* [Aine Duffy (pedro)](../../about/contact/pedro)
* [Aine Duffy (pedro)](../../contact/pedro)

**Public Relations Officer:**

* [Andrew Boylan (fructus)](../../about/contact/fructus)
* [Andrew Boylan (fructus)](../../contact/fructus)

**First Year Representative**

* [Freddie Hayden (mercury7)](../../about/contact/mercury7)
* [Freddie Hayden (mercury7)](../../contact/mercury7)

**System Administrators:**

* [Shane Stacey (isaac702)](../../about/contact/isaac702)
* [Vadim Clyne-Kelly (VadimCK)](../../about/contact/vadimck)
* [Gautam Wadhwa (gw)](../../about/contact/gw)
* [Shane Stacey (isaac702)](../../contact/isaac702)
* [Vadim Clyne-Kelly (VadimCK)](../../contact/vadimck)
* [Gautam Wadhwa (gw)](../../contact/gw)


* [Ciaran McNally (mak)](../../about/contact/mak)
* [Ciaran McNally (mak)](../../contact/mak)

**Education Officers:**

* [Eimear Tyrell (beimear)](../../about/contact/beimear)
* [Craig Duff (duff)](../../about/contact/duff)
* [Eimear Tyrell (beimear)](../../contact/beimear)
* [Craig Duff (duff)](../../contact/duff)

+ 11
- 11
source/about/past-committees/the-committee-2013-2014/ View File

@@ -4,33 +4,33 @@ title: "The Committee 2013-2014"


* [Vadim Clyne-Kelly (VadimCK)](../../about/contact/vadimck)
* [Vadim Clyne-Kelly (VadimCK)](../../contact/vadimck)


* [Jessica McGowan (teapott)](../../about/teapott)
* [Jessica McGowan (teapott)](../../contact/teapott)


* [Lorcan Boyle (zergless)](../../about/zergless)
* [Lorcan Boyle (zergless)](../../contact/zergless)

**Events Officer:**

* [Jerry Onianwa (jerbumz)](../../about/contact/jerbumz)
* [Jerry Onianwa (jerbumz)](../../contact/jerbumz)

**Public Relations Officer:**

* [Tríona Barrow (polka)](../../about/contact/polka)
* [Tríona Barrow (polka)](../../contact/polka)

**First Year Representative**

* [Sean Healey (space)](../../about/contact/space)
* [Sean Healey (space)](../../contact/space)

**System Administrators:**

* [Richie Walsh (koffee)](../../about/contact/koffee)
* [Ciaran McNally (mak)](../../about/contact/mak)
* [Emmanuel Caillé (twister)](../../about/contact/twister)
* [Richie Walsh (koffee)](../../contact/koffee)
* [Ciaran McNally (mak)](../../contact/mak)
* [Emmanuel Caillé (twister)](../../contact/twister)


@@ -38,5 +38,5 @@ title: "The Committee 2013-2014"

**Education Officers:**

* [Andrew Boylan (fructus)](../../about/contact/fructus)
* [Niall Gaffney (gamma)](../../about/contact/gamma)
* [Andrew Boylan (fructus)](../../contact/fructus)
* [Niall Gaffney (gamma)](../../contact/gamma)

+ 231
- 0
source/help/exams/admin-test-2005-agm/ View File

@@ -0,0 +1,231 @@
title: 'Admin Test 2005 agm'

All questions can be answered in the context of any version of UNIX (except for the Solaris, FreeBSD and Linux sections obviously!). Indicating which version of UNIX you refer to in your answer is preferred but not required. Negative marking applies throughout for answers that are clearly incorrect or demonstrate incompetence.

Humourous answers while appreciated gain no extra marks. Keep answers short and concise - don't waste time writing when one or two word answers will suffice.


The test is marked out of 300.

Best of luck!

- phaxx, mickeyd, halenger, dizer
0. Scripting (40 marks)

You must be mesg n for duration of test. Any attempt to communicate with other users will result in immediate failure.
You may only refer to system documentation (man & info pages) for help, i.e. no web access!
You are free to use any shell or scripting language to write the scripts. Only system commands may be used, your own or other user scripts may not be referred to. Basically: no cheating!
Make a directory ~/admintest and place scripts in there. Name each script by its question number. Humorous error messages make your scripts run faster.
Whilst we hope your scripts run correctly, the emphasis is on the procedure rather than a perfectly working implementation.

Here we go..

Redbrick has started receiving letters from the various Irish organisations who deal like to complain about illegal material being available on the internet. The webmaster pay much attention to this situation. Write a script to find all files in /webtree with the following extensions: "mp3, wma, wmv, rm, ra, ogg, avi, mov, m4a, mpg, mpeg". Make sure the search is case insensitive. Write this to a file (as we will need it to find "culprits") and present it in the form:
username :: group -:- chmod_of_file :-: size_in_kilobytes - path
Write to the file "omfg_busted_zing.txt"
(13 marks)
Process this list so that it generates a report. The report should be as follows:
chmod :: number_of_files :-: size_in_kilobytes_in_total -:- number_of_members
(13 marks)
Also process the list so that the top 10 users with the largest combined file sizes are listed as:
username :: group :-: total_file_size -:- largest_file
with a full list written to "fscking_users.txt"
(14 marks)
1. Solaris - with thanks to dizer (30 marks)
Listen up maggots, as part of this job you're going to be anally gang raped by Sun Microsystems. And you're going to have to learn to like it, soliders. With time, you'll enjoy the feeling of a cool hard E450 on your ass cheeks.

Now pay attention you slimey cunt fucks.

You commie bastards think you're so fuckin' smart eh? Then tell me what 'logging' means on Solaris UFS. (4 marks)
WHAT DID YOU SAY! /usr and / on separate partitions on a Solaris system? Either you tell me why this is a bad idea, or I'll teach your sister all about 'partitioning'. (4 marks)
Ah not again. Some anal sucking mommas boy left the air conditioning off again. Your Sun system is probably overheating like your Dad on a cheap Thai hooker. What command can I use to find out the temperature of your system? (2 marks)
Sun in their infinite wisdom left a nasty little kernel bug in a version of Solaris running on Redbrick. What online resource do you use to patch against this? Your mommy can't help you now fagboy. (1 marks)
Describe the steps involved in attaching my dick to your mother. Replace 'dick' with 'disk' and 'mother' with 'father'. Now replace' father' with 'Sun box'. (5 marks)
America, fuck yeah. Sun Microsystems, fuck yeah. Bed, Bath and Beyond, fuck yeah. Metastat, what the fuck does it do? (1 marks)
Your commander in chief has just given you a new Solaris package named 'YERma'. Your orders are to get a list of everything in 'YERma'. (2 marks)
What's the difference between /bin/sh on Solaris and on Linux? Unlike your mother and your sister, they are actually different. (2 marks)
I don't know but I've been told, Eskimo pussy is mighty cold. Here are a list of director-ies, tell me what they're for as it sure ain't sleaze.
(5 marks)
Stop interfacing with your hand and interface with the network. You need to setup a network alias on a running network interface (say hme0) and ensure it is persistent across reboots. How do you go about this, with emphasis on the persistency. (4 marks)

2. FreeBSD (30 marks)
What does sysctl do? (3 marks)
What partition type does FreeBSD usually use? (3 marks)
What does FreeBSD normally use these partitions for?
(2 marks)
What command would you use to display the routing table? (3 marks)
Assume your DNS server is down. Looking up the hostnames for displaying the routing table is taking all freakin' day. What option (to the answer for the previous question) turns this off? (1 mark)
You've just installed a BSD system, but neglected to include the ports collection when prompted. List two ways you could install it. (4 marks)
You'd like to upgrade your system without using a crappy ol' CD. What do you do? (3 marks)
In what situation would you use vinum? Name an alternative to using vinum. (3 marks)
New kernel time! Assuming you have the kernel sources installed, how do you go about this? (5 marks)
/etc/defaults/rc.conf? What the heck is that? Why shouldn't you edit it? (2 marks)
Whats LINT? (hint: not related to fabric or paper ;) (1 marks)

3. Linux (30 marks)
What command would you use to change or print terminal line settings?
How would you use this command to fix a terminal after catting a binary file?
How would you use this command to set backspace to ^?
(3x1 marks)

You run ps on a user. How do you find the full path to the executable of any of the user's processes? (3 marks)
What device is represented by /dev/kmem? /dev/lp1? (2 marks)
What are major and minor device numbers? (2 marks)
What command would you use to make a block or character device? (2 marks)
You install a new network card but the driver is not installed by default. Give the steps you would take to set up the new card (you have the driver and the network card is installed). (4 marks)
Name two linux boot managers. For each one, show how you would make a change to the configuration. (4 marks)
In what file might you set a proxy for apt to use? (2 marks)
If you don't want to set a proxy in that file, how else might you make apt use a proxy? (2 marks)
What command and option would you use to do a non-destructive read/write scan for bad blocks on a file system? (2 marks)
You've just compiled a new kernel and you reboot. Everything seems to be going ok until you get the dreaded KERNEL PANIC message. You notice messages about ext3 filesystems not being mounted. What might be the cause of this? (4 marks)

4. LDAP (20 marks)
Sometimes LDAP needs to be reindexed. The main part of the reindexing process is stopping LDAP, exporting the LDAP database to an LDIF file, readding all the entries from the file and restarting LDAP. Give the commands to do this on RedBrick without using the slapindex command (you can assume the database is cleared after you export the database). (6 marks)
What does ldapmodrdn do? (2 marks)
When usernames start appearing as numbers, its usually a problem with nscd rather than LDAP, but what is nscd and what is it used for? (4 marks)
What commands are used to a) change and b) remove an LDAP entry. (2 marks)
slurpd provides replication of an LDAP database. Name three benefits of doing this. (3 marks)
What are LDAP attributes? List and explain 3 of them. (3 marks)

5. Files & Filesystems (30 marks)
[ mickeyd@carbon:~ ]$ ls -ld /tmp
drwxrwxrwt 35 root root 1080 Apr 8 11:52 /tmp
What does the t mean?
Why might this be set on a directory like /tmp?
(5 marks)
What is the difference between a character and block device? (2 marks)
Give an example of a character and a block device (you can use FreeBSD/Linux/Solaris but both examples must be from the same OS). Provide device names. (2 marks)
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda2 4901956 3334036 1318916 72% /
none 102400 284 102116 1% /tmp
/dev/sda3 4901956 2214024 2438928 48% /var
/dev/sda5 8649544 1204144 7006024 15% /local
/dev/sda6 4901924 2523936 2128984 55% /var/tmp
/dev/sda7 186299092 91005928 95293164 49% /home 173810112 62530848 111279264 36% /webtree
192872352 152488544 24954016 86% /backup/webtree
192872352 129194080 48248480 73% /backup/home
What command was used to display the above output? What can you say about the last three filesystems? (3 marks)
What is the traditional difference between /bin and /sbin? (2 marks)
Show how you would write a bootable floppy image 'boot.img' to a floppy disk (assuming the image fits on the disk). (3 marks)
Explain what is meant by the following mount options:
(4x1 marks)
Journaling filesystems - good or bad? Why? Name 2 journaling and 2 non-journaling file systems. (6 marks)
On an NFS mount, what does all_squash do? (3 marks)

6. Hardware (30 marks)
What does RAID stand for? What is it? (4 marks)
Give reasons for and against using RAID. (4 marks)
The most common RAID levels are 0, 1 and 5. Explain how these work. (4 marks)
Give some advantages of using software RAID over hardware RAID. (4 marks)
You attach a new IDE drive to a system. Its not working properly. Name 3 things you check before shipping it back. (3 marks)
What is DVI? (2 marks)
What is ECC memory and why would a server use it? (2 marks)
The pentium 4 Xeon inside carbon has the following capabilites:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
Explain 6 of these flags. (6x0.5 marks)
What does UPS stand for and why is it A Good Thing [TM]? (4 marks)

7. Networking (30 marks)
Whats a CIDR netmask? Give an example of the other type. (2 marks)
tun0/tap0. What the feck are they? (don't just say 'network interfaces' :) (2 marks)
Explain briefly each of the following:
(12 marks)
Why is the loopback device important? (2 marks)
How would you add a default route for a linux machine? How would you verify it worked? (2 marks)
screen 4587 awol 3u IPv4 0xc3dafcf0 0t0 TCP> (ESTABLISHED)
What program generated the line above?
Summarise this line in plain english.
Why might 'screen' be doing that?
Look at the fields with the IPs and ports. One of the ports has been replaced with it's actual name, 'ldap'. How does it know? What controls this?
(8 marks)
RedBrick has been delegated two subnets by DCU. (15 & 16). Are they class A, B, C or D? (1 mark)
...and finally for Networking, a nice simple one: Hubs and Switches. Whats the big difference? (1 mark)

8. Security (30 marks)
chroot! Whats it good for? What problems might you face when trying to use it? (4 marks)
-rwsr-x--- 1 root root 23112 Nov 2 19:56 /bin/spork
You find a mysterious binary in /bin/. You don't know what it is or how it got there. Name three things you can do to safely try to see what it does. (6 marks)
Look at the permissions string for /bin/spork above - what does that 's' mean? How would you both add and remove that 's'? (4 marks)
The file above turns out to be a copy of 'bash'. Shit. What do you do next? (detailed answer - six marks for this!) (6 marks)
Er, how is it that something like apache can run as the user 'www', yet be listening on port 80? Aren't ports below 1024 priviledged? (3 marks)
Apart from something one might do with your nose, whats snort? (3 marks)
Whats a VPN? Give one situation in which one might want to use one. (2 marks)
Whats SUEXEC good for? (2 marks)

9. General (30 marks)
Redbrick's lagged to hell. You check top and there's "sshd"s everywhere. Lower down there's some "sftp-server"s listed. What...the...hell...?? How do I find out what these sftp things are doing? (3 marks)
'hey' is telling you that some users don't exist. Something definately up, but what might it be? (3 marks)
When editing important files as a Redbrick admin, RCS is often employed. What is RCS? How do I use it? What do I do when that tool phaxx leaves the file "in use"? (3 marks)
Whats wtmp for? (2 marks)
I'm tired of this. Please write the remainder of the test yourself.

Just kidding. Describe the steps in mounting something over NFS. Both client and server steps are required. (6 marks)
What are all of the following for:
(3x2 marks)
Currect version of:
Carbon's kernel
Deathray's kernel
Enigma's FreeBSD
(3x1 marks)
What's the optimal temperature for a server room's air conditioning system? (2 marks)
tsocks seems to be unresponsive. Any attempts to use it just hang there and eventually time out. The proxy seems to be the most likely culprit so changing it seems like a good idea. It's set to proxy3. How do I change it and get tsocks working again? (2 marks)

10. skyhawk's mother (Bonus round, zero marks, be nice!)
(0 marks)

Do you think she'd approve of you being an admin?
If so, why?
(sorry dec, had to make good on my threats. ;)

Bonus Bonus question:
What member /var/tmped something that ground Redbrick to a halt lately? How did he make people aware of what he had put there and how big a tit do you think he is? (Please display ability to abuse members who make a general balls of Redbrick)

+ 289
- 0
source/help/exams/admin-test-2012-agm/ View File

@@ -0,0 +1,289 @@
title: 'Admin Test 2012 AGM'
252 marks total

Scripting (40 marks)

1 - gamma refuses to fulfill the scripture and run for admin to follow in his brother's footsteps.
The gods have been angered that they are being denied the second coming of atlas. They have given
you the task of killing all of gamma's processes every 5 minutes, however, you may not use pkill,
pgrep or killall. Go! (9 marks)

2 - In a move to stamp out the LOLSORANDUM crew haus has asked you to write a script that will:
- Get a list of all users in CA1
- Find any files they own that contain the substring "lol" (case insensitive)
- Delete the files
- Email the path of each file you delete to the member of "the crew" and make an insulting
remark about their mother. (15 marks)

3 - Write a monitoring script that writes to syslog.
It should have a start & stop operation.
'start' begins monitoring of iostat and load_avg.
It should use variables $IO_INTERVAL & $LOAD_AVG_INTERVAL to determine when
it writes each to syslog.
'stop' should kill every instance of monitoring. (15 marks)

4 - Write a script to amuse me (1 mark)

Practical (40 Marks)

1. I want a /var/tmp partition, but forgot to create one. Motherfucker.
Resize /home for me so we have 1G free space. Create a partition in this
free space, and an ext4 filesystem. Make sure it mounts on boot. (30

2. The Vms are running linux-server. Install linux_generic and make it
the bootable kernel.(10 marks)

General (31 marks)

1 - What's UNSCD? What does it do? (2 marks)

2 - You've catted a binary and now your terminal has had a spa attack. What command will fix it? (1 mark)

3 - What's RCS? Why would it ever be used? If you're fun, what do you enjoy doing because you
"can't be dealing with checking files in and out" to get around it?
What do you hit him with when he does this? (3 marks)

4 - Give a situation in which you would use the following commands:
(1 mark each)

5. What are the following;
- Exim
- Dirvish
- Nagios
(1 mark each)

6. You have written a script which you want to execute at 5 minutes past midnight every thursday.
What would you use for this? What command would you use to modify it?
What would the configuration line be (Assume the script is /opt/ (3 marks)

7. Ideally what temperature should the server room be kept at? (1 mark)

8. Give me 2 different ways of searching for a specific man page? (1 mark)

9 - A user wants to upload an iso of damn vulnerable linux, but he isn't allowed own files that large
What file do you need to edit to change this? (1 mark)

11 - What is an IP KVM? Why are they awesballs? (2 marks)

12 - How would you view the current mail queue? (exim specific answer plx) (3 marks)

13 - How would you suspend a process? What signal would you send it?
How would you resume it? What signal would you use? (2 marks)

14 - What is an LDIF? What tool would you use to generate an LDIF? (2 marks)

15 - Which is the shit one, useradd or adduser? What makes the other one shit? (2 marks)

*NIX/Linux (25 marks)

1 - Where are crontabs located? (1 mark)

2. We compress old log files to save space. You need to view one of these compressed log files.
How do you go about this without uncompressing the file first. (1 mark)

3. apt-get install fails to complete sucessfully on a new server. What could be wrong? (2 marks)

4. You have a file which you want to add to every new users home directory when it is created.
What directory should this file go in and what do you have to do when creating an account for it to take affect?
(2 marks)

5. How do you assign multiple ip addresses to a network interface? (1 mark)

6. You are trying to umount a filesystem (/storage) however it is currently busy.
How can you find out what user/process is using it and kill it? How can you umount it without killing it?
(2 marks)

7. What linux utility can you use to see what library calls a process makes? (2 marks)

8. Carbon just shutdown unexpectedly. What can be done to identify what went wrong? (1 marks)

9 - What command can you use to view boot messages? (2 marks)

10 - What is /etc/nsswitch.conf used for? When would you need to edit this file? (3 marks)

11 - Explain briefly what an nrpe plugin is. (2 marks)

12 - chroot. What be it? When might you find it useful? (2 marks)

13 - What command would you use to show the amount of free space on a parition?(1 mark)

14 - Why should you avoid using kill -9? (1 mark)

15 - What's /dev/kmem? What's /dev/mem? Explain the difference? (2 marks)

Files & Filesystems (30 marks)

1 - Briefly explain what ctime, mtime and atime are in regards to a file.
How would you retrieve each of these? (4 marks)

2 - What are these filesystems used for, on an average linux installation? (3 marks)

3 - Name 3 filesystems. different filesystem versions within the same family
of filesystems will not be accepted (3 marks)

4 - Give at least one difference between each filesystem. (3 marks)

5 - Explain as verbosely as you can the difference between a hard link and a soft link.
What command creates each of them? (3 marks)

6 - Why are hard links & incremental backups best buds? (2 marks)

7 - What command will give me the UUID of a partition? (The answer does not involve cat) (2 marks)

8 - What's an inode? (1 mark)

9 - How would you find the inode number of a file? How would you delete a file by its inode number?
Why would you want to? (4 marks)

10 - What goes in /etc/fstab? How about /etc/dfstab? and /etc/mtab? (3 marks)

11 - drwxrwxrwt 3 root root 4096 2012-03-26 15:27 /var/tmp

What does the t mean? (1 marks)

12 - What does fsck do? When would you use it? (2 marks)

(Open|Free)BSD (20 marks)

1 - What's a securelevel? Briefly explain how it works. (2 marks)

2 - What is a jail? When would you use one? (2 marks)

3 - OpenBSD's installer is seperating your disk into alphabetically numbered sections.
What's a is root, b is swap, but what's c? (2 marks)

4 - You're running pf on OpenBSD. You've changed the config and restarted pf. Why aren't the new rules you've added
showing up? (2 marks)

5 - How do you update the ports tree on FreeBSD? (2 marks)

6 - FreeBSD doesn't have a /etc/init.d and no upstart either, where the jesus are its startup scripts? (2 marks)

7 - Okay, you've figured out where the startup scripts are on FreeBSD but it turns out you actually want to restart
ssh on OpenBSD. Give me the command to do it. (2 marks)

8 - What file do you have to edit to change the default route on FreeBSD? (2 marks)

9 - You're trying to install something using pkg_add but it's just hanging there.
Name 2 things you should do to try and fix it. (2 marks)

10 - How do you delete a user on OpenBSD? (2 marks)

Networking (24 Marks)

1. Yer auld wan needed help with her NAT, and I gave it to her. What is
NAT? Why is it useful? Where would you see it used? 2 marks

2. Redbrick have two switches. What OS are they running? Give me the
steps to see the port configuration on a switch running this OS. 4 marks

3. Speaking of switches, What is a switch? How does it work? On what OSI
layer? Compare to a router and a hub. 4 marks

4. WHO HAS any idea about ARP? What is it? How would I use it to give an
IP address to a device? How could I take advantage of ARP for a man in
the middle attack? 4 marks

5. Which has the highest propigation speed, fibre, coax, or cat6?
Highest bandwidth? 2 marks

6. Redbrick has a /23. We've broken this up into two /24s, how many
useable IPs do we have? 1 mark

7. What is a VLAN? How do redbrick use VLANS? Can VLANs talk to each
other? 2 marks

8. How many IP addresses can we have under IPv4? IPv6? 1 mark

9. What ports do SNMP, SMTP, LDAP and TFTP run on? 4 marks

Hardware (31 marks)

1. How would I find the UUID of a disk? 2 marks

2. What is a DAS? What do redbrick use one for? Compare and contrast to
a NAS and a SAN. 5 marks

3. Redbrick are getting a GPU for people to program on. What are the
advantages of GPGPU programming? Why? 3 marks

4. SATA, SAS and SCSI. What are they? Why would I use each? 4 marks

5. What is the svm flag in /proc/cpuinfo? What do we want it? 2 marks

6. What is an IP-KVM and why do we use one? 2 marks

7. What RAID configuration would you use for a cluster of 4 1TB disks
housing your warez? Why? 3 marks

Security (31 marks)
1. Why are running services such as FTP, Telnet & POP a bad idea? (2 marks)

2. You have just become the a system adminstrator and have been given root. What can you do to secure your account? (2 marks)

3. Name 3 files which should only be readable by root? (3 marks)

4. When scripts are executed by the webserver on redbrick they are run under suexec and suphp. Why is this and why is it a good thing? (3 marks)

5. What is a firewall? Name two firewalls that redbrick have on their systems. How do you list the current rules on them both? (5 marks)

6. What is wrong with the following path?
How would an attacker go about exploting this? (2 marks)

7. You left a root terminal unlocked and someone has used it to do something. The history files has been deleted. How do you go about finding out what they did? (5 marks)

8. You have just installed a new linux server. Name 3 things you should do to secure this system. (3 marks)

9. What are AppArmor and SELinux used for? (2 marks)

10. Name 2 security mailing lists that you should be subscribers to as a redbrick root holder. (2 marks)

11. What is wrong with setuid scripts and why should they be avoided? (1 mark)

Bonus round
1. Which HTTP response code best describes dilligaf and why?

2. Cans during the test, is this win?

3. MDMA, LSD, Cannabis, Crystal meth. Which one of these best describes you and why?

The first one to give gw the correct answer gets a can.

+ 1
- 1
source/help/exams/helpdesk-test-2007-egm/ View File

@@ -2,7 +2,7 @@
title: 'Helpdesk test 2007 EGM'

[![Redbrick Logo](../../images/redbrick_logo.png)](../../ "Redbrick Homepage")
[![Redbrick Logo](/assets/images/logo.png)](../../ "Redbrick Homepage")

* How do I send a private message to someone on chat?
* Hey,

+ 5
- 5
source/help/exams/ View File

@@ -28,18 +28,18 @@ you must first pass an exam. Here are some exams from previous years.
* [2010 AGM](./admin-test-2010-agm)
* [2009 AGM](./admin-test-2009-agm)
* [2009 EGM](./admin-test-2009-egm)
* [2008 AGM](./admin-test-2008-agm) ([Answers](./admin-test-2008-agm-Answers))
* [2008 AGM](./admin-test-2008-agm) ([Answers](./admin-test-2008-agm-answers))
* [2008 EGM](./admin-test-2008-egm)
* [2007 AGM](./admin-test-2007-agm)
* [2006 EGM](./admin-test-2006-egm)
* [2005 AGM](./admin-test-2005-agm)
* [2005 EGM](./admin-test-2005-egm)
* [2004 AGM](./admin-test-2004-agm) ([Answers](./admin-test-2004-agm-Answers))
* [2003 AGM](./admin-test-2003-agm) ([Answers](./admin-test-2003-agm-Answers))
* [2004 AGM](./admin-test-2004-agm) ([Answers](./admin-test-2004-agm-answers))
* [2003 AGM](./admin-test-2003-agm) ([Answers](./admin-test-2003-agm-answers))
* [2002 AGM](./admin-test-2002-agm)
* [2001 AGM](./admin-test-2001-agm)
* [2000 EGM](./admin-test-2000-egm) ([Answers](./admin-test-2000-egm-Answers))
* [2000 AGM](./admin-test-2000-agm) ([Answers](./admin-test-2000-agm-Answers))
* [2000 EGM](./admin-test-2000-egm) ([Answers](./admin-test-2000-egm-answers))
* [2000 AGM](./admin-test-2000-agm) ([Answers](./admin-test-2000-agm-answers))

## Webmaster Tests

+ 2
- 2
source/help/exams/webmaster-test-2002-agm/ View File

@@ -4,7 +4,7 @@ title: 'Webmaster test 2002 AGM'

1 hour long. Attempt all sections; there are no trick questions. For optional questions, you may answer more than one option, the marks from the highest scored options will be awarded.

You may refer to the [reference sheet on regular expressions](webmaster2002-regex.shtml).
You may refer to the reference sheet on regular expressions(these were lost to the winds of time)

Section A - General Web "Stuff" (spot the question that's been on the last 3 tests)

@@ -84,4 +84,4 @@ Section G - Brownie Points!
Did you cry when it was cancelled?
Why not? !!!
4. Name a good source of (hint) weekly news on Apache.
5. Name 3 former RedBrick webmasters (a.k.a. people you can bother with questions ;p~)
5. Name 3 former RedBrick webmasters (a.k.a. people you can bother with questions ;p~)