The Official *nix Thread

Inane baanter or words of wisdom - you decide...
Post Reply
User avatar
Dungeon-Dave
Baaaaaa!
Baaaaaa!
Posts: 3925
Joined: Thu Aug 04, 2005 12:01 pm 0
Location: UK
Contact:

Re: The Official *nix Thread

Post by Dungeon-Dave »

okay, registered for the tests and had a crack.

RH033 = 44
RH131 = 36
RH253 = 24

Some of the questions were a tad cack. For those that are thinking of taking it, I'll drop my whinges in spoilers:
Spoiler: show
- the section on FTP concentrated on vsftpd. Nothing mentioned about other FTP software (pure, pro, etc)
- the question on Apache/Squid didn't make it clear which service you were configuring. Either *could* have worked.
- some questions had more than one correct answer in some cases. In the sense that if I was read it out as a "false statement", I could show that it *would* work in some cases. I'm nto sure if that was part of the troubleshooting analysis.
User avatar
JQW
Baaaaa!
Baaaaa!
Posts: 1186
Joined: Thu Feb 22, 2007 12:23 pm 0
Location: Ripon, where nothing ever happens.

Re:

Post by JQW »

Muttley wrote: I got my Red Hat Certified Technician qualification last year (waiting to do the next level now) and the exam is split into two parts. The first part (about 20% of the mark) you are dumped in front of a broken system (has several things wrong with it) and you have to fix it. You can do this in any way you like apart from rebuilding it. They don't care whether you use the RedHat system config tools or hack the config files by hand as long as it works.
I had to something similar on a Banyan training course many years ago. A server had about 5 or 6 things done to it that would prevent it from booting up and starting properly. The tools available were a current system backup (these contained the OS data files only and not the OS binaries) and a known working server running the same OS revision from which you could transfer files onto removable media but of course hosting totally different data.

The problems ranged from the simple (there was a floppy in the boot drive), to the really complex. One problem that foxed some (not me) was that at least one core binary file for a core service actually contained the binary for another core service, so it indeed appeared to start up properly. Other problems were missing or damaged files including core files from the directory services database. Even when all services were running properly there were a couple of other things that needed to be done to get the server to talk to everything else, things like resetting 'last-heard-from' times in the directory service database from some far-future time to the present, which only really applied to this OS.

I think it needed 3 or 4 reboots or restarts to fully get the server up and running and talking to the rest of the network.
User avatar
CharlieF
Baaaaaa!
Baaaaaa!
Posts: 3020
Joined: Sun Mar 30, 2003 9:46 pm 0
Location: Lancashire, UK

Re: The Official *nix Thread

Post by CharlieF »

Posting from a freshly installed Ubuntu on a box discarded by my stepdad and it's bloody luvvery :D
I've got a lot to learn so I'll be using XP alongside for now. I may jump in eventually as I'm impressed.
Had a bit of a battle getting my Netgear WG111T USB wireless dongle up and running with Sky BB. (I'm a complete Linux newbie - 'twas scary)

Quick Q - Why cant I use the Add/Remove app in Applications as I'm clearly online. It lets me refresh the list but when I tick a box its says the list of applications is unavailable :?
User avatar
CharlieF
Baaaaaa!
Baaaaaa!
Posts: 3020
Joined: Sun Mar 30, 2003 9:46 pm 0
Location: Lancashire, UK

Re: The Official *nix Thread

Post by CharlieF »

OK. Disregard that last one. I is a dunce.
User avatar
teamonkey
Sheepie Whore
Sheepie Whore
Posts: 12082
Joined: Thu Jun 13, 2002 1:07 am 0
XBL Gamertag: itsthetaste
PSN: teamonkey_ca
Contact:

Re: The Official *nix Thread

Post by teamonkey »

If you hadn't heard already, it's been discovered that the Linux kernel has a pretty massive security hole for local users.

http://it.slashdot.org/article.pl?sid=08/02/10/2011257
"This local root exploit (Debian, Ubuntu) seems to work everywhere I try it, as long as it's a Linux kernel version 2.6.17 to 2.6.24.1. If you don't trust your users (which you shouldn't), better compile a new kernel without vmsplice."
2.6.17 is pretty old and the very most recent kernel is 2.6.24.2, plus I think vmsplice support is compiled in by default on many distributions. Nasty.

There's a nifty solution though: a local user can use the exploit to gain superuser access and hotpatch the fix. :D
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

Help!

I've been tasked with setting up a linux mail server in our office as our hosting company is charging too much to use theirs. The Linux box is Fedora Core 8 at the moment, but I've increasingly come to the conclusion that I don't really know what I'm doing here. Our users use Outlook to send/receive e-mail.

As far as I can tell, I need two bits of server software running?

SMTP to receive e-mail from the net - I've installed Exim which seems to be now present and working on port 25.
POP3 (or something?) to send e-mail from Outlook, but I don't know what Linux software does this or which is easiest.

I've basically been scouring the net for tutorials on exactly how to set up a complete e-mail server for Linux and pretty much come up blank as tutorials on Exim and such seem to assume a lot of prior knowledge and there seems to be no information on how to setup a complete e-mail "package", so to speak.

Under Outlook, you seem to need two servers (in this case they will both be the same server) to send and receive e-mail, SMTP and POP3. You also need an account like someone@something.com and a password.

Any advice would be gratefully received.
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
disciple
Sheepie Whore
Sheepie Whore
Posts: 13941
Joined: Mon Oct 27, 2003 11:33 pm 0
XBL Gamertag: LiberMentis
PSN: Prime_Heretic
Location: Greenfield
Contact:

Re: The Official *nix Thread

Post by disciple »

SMTP is a protocol responsible to chucking mails round the net, getting them to where they want to go.

POP3 is one of a number of protocols that allow the client (outlook) to connect to the mail server and read mails. You're better off using IMAP over POP3..

It's been a while since I messed with this stuff, I remember I found it a nightmare getting it all working together. Sorry I do not have any suggestions for packages to do all this.
PS4 : Prime_Heretic
Steam: bitstorm
Elite Dangerous: Cmdr Britain
User avatar
disciple
Sheepie Whore
Sheepie Whore
Posts: 13941
Joined: Mon Oct 27, 2003 11:33 pm 0
XBL Gamertag: LiberMentis
PSN: Prime_Heretic
Location: Greenfield
Contact:

Re: The Official *nix Thread

Post by disciple »

Ok, I'm not recommending here cos it's been ages but PostFix is what I used for the SMTP server : http://en.wikipedia.org/wiki/Postfix_(software)

I think for the IMAP server I used UW IMAP : http://en.wikipedia.org/wiki/UW_IMAP

As I say not recommendations, I'd hope things have moved on a bit since then since I found them to be a nightmare to configure and set up for someone with no previous experience. :?
PS4 : Prime_Heretic
Steam: bitstorm
Elite Dangerous: Cmdr Britain
User avatar
gravy
Sheepie Whore
Sheepie Whore
Posts: 19572
Joined: Wed May 01, 2002 1:28 pm 0
Location: The Other Place

Re: The Official *nix Thread

Post by gravy »

Exim4 is good for your SMTP needs which does allow you server to receive emails

For your users collecting mails I'd recommend Courier and install Courier-IMAP rather than rely on POP3

Outlook and Outlook express both work with IMAP which IMHO is a much better way to go.
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

Does each user need to be a Linux user on the mail server?
I know back in the old days this was literally the case, when everyone actually logged into a UNIX box to do their work, but all our users are on Windows using Outlook.
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
tufty
Sheepie Whore
Sheepie Whore
Posts: 12524
Joined: Fri Jan 07, 2005 4:52 pm 0
Location: French Alps

Re: The Official *nix Thread

Post by tufty »

First off, either exim or postfix will do you as an SMTP server. I'd also echo the sentiment of using IMAP rather than POP, but you might need to be able to handle both.
RageMatrix wrote:Does each user need to be a Linux user on the mail server?
Nope. What you need to do is set up virtual mailboxes for them, ideally using some external server (LDAP, probably) to determine who gets to receive mail, and to handle authentication for mail fetch. That way, only valid users get to receive mail, and they get to use the same passwords for mail recovery as they do for other services using the LDAP server (network shares and the like).

It's not very easy to set up stuff like this.

Simon
"massive retard™", "full of shit™", "tiny bitch™", "retarted™", "a bit of a one trick pony™", "petty™", "simple minded idealistic twat™", "miserable humourless fucker™"
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

So - I'm a bit fucked then? :?

I've got Exim installed and running, but the configure script for Courier fails, saying I need the c_rehash script from openssl
configure: WARNING: Unable to locate OpenSSL's c_rehash script in the current
configure: WARNING: PATH. The c_rehash script is included in the OpenSSL
configure: WARNING: package but may not be installed on your system. Please
configure: WARNING: install the c_rehash script from OpenSSL and rerun this
configure: WARNING: configure script.
configure: error: openssl found but c_rehash was not found.
configure: error: ./configure failed for rootcerts
WTF? I've tried looking for it using "find / -name "c_rehash" -print" but got nothing.
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
gravy
Sheepie Whore
Sheepie Whore
Posts: 19572
Joined: Wed May 01, 2002 1:28 pm 0
Location: The Other Place

Re: The Official *nix Thread

Post by gravy »

What linux distro you on?

I installed it all with apt-get on debian :)
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

gravy wrote:What linux distro you on?

I installed it all with apt-get on debian :)
Ah, apparently after a bit of hunting around, I needed to install openssl-perl as c_rehash is apparently a Perl script now :roll: Nice of the Fedora Core team to make that nice and clear.
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
HGFB
Sheepie Whore
Sheepie Whore
Posts: 23575
Joined: Sat Apr 27, 2002 8:51 pm 0
Location: At my desk. Tap tap tapping.

Re: The Official *nix Thread

Post by HGFB »

Fedora Core? It hasn't been called Fedora Core for a while. Which version are you using?
My bag is called Mr Shitface
Post Reply