PDA

View Full Version : Questions you would ask a candidate for Linux admin position?



jimmy20013
17th November 2006, 08:44 AM
Hi, if you were looking for a entry to mid-level Linux Admin, what questions would you ask him to test his skills?

multescugeorge@
17th November 2006, 08:53 AM
1. can you make a clone of a linux install to work on a second HDD (the original HDD removed)
2. my sendmail has been sending a lot of data these past few days over the internet, but i didn't send any messages, what could be wrong?
3. i want to share the internet with 10 other peoples in a hurry, but i don't want to pay 10 extra ip adresses, the network is in place, how can this Linux do that?
4. i want to filter out some web pages for those 10 peoples, i just don't want them accessing those pages, how can this be done?

nick.stumpos
17th November 2006, 09:03 AM
to add to multescugeorge@ sugestions,
i need to share files/printer with a windows machines, how can this be set up
I need to have such and such automount though ntfs on every workstaion, howcan this be done.
I want each user locked into their /home/ directory, how can this be done

jimmy20013
17th November 2006, 09:37 AM
1. can you make a clone of a linux install to work on a second HDD (the original HDD removed)
Never done it but yes after editing the bootloader config.


2. my sendmail has been sending a lot of data these past few days over the internet, but i didn't send any messages, what could be wrong?
Sendmail has been hacked and is being used to send spam. (Occam's Razor: Simplest explanation first. :) )


3. i want to share the internet with 10 other peoples in a hurry, but i don't want to pay 10 extra ip adresses, the network is in place, how can this Linux do that?
Add a second NIC, install and configure a DHCP server, enable IP forwarding, connect the NIC to a switch/hub and connect the ten PC's to the switch/hub.


4. i want to filter out some web pages for those 10 peoples, i just don't want them accessing those pages, how can this be done?
Edit the httpd.conf and add the line Deny 192.168.1.*, assuming that they belong to a Class C network.

multescugeorge@
17th November 2006, 09:45 AM
1. what comand(s) could be used?
2. why did it become hijacked?
3. not that easy, masquerading must be configured, ip forwarding is just a part. Quick setup: firstarter
4. some web pages: xxx.porn. com, xxx.pornHardxxx.com, www.Games.com, perhaps try squid acl lists and transparent proxy-ing.

jimmy20013
17th November 2006, 10:09 AM
i need to share files/printer with a windows machines, how can this be set up

Using Samba. Specific procedure depends on authenciation methods, file permissions, blah blah.



I need to have such and such automount though ntfs on every workstaion, howcan this be done.
Edit the /etc/fstab file.


I want each user locked into their /home/ directory, how can this be done

Can be done usign chroot or rbash. Some programs like vsftpd have this option in their conf files.

jimmy20013
17th November 2006, 10:14 AM
3. not that easy, masquerading must be configured, ip forwarding is just a part. Quick setup: firstarter
Sorry I am in the middle of something and I am trying to type the answers as well. Yes forgot about IP masquerading and I thought of Firestarter but firestarter doesn't give you as much control. By the way I have a Linux box at home serving as a DHCP server and everything to my 4 other computers, so I am well versed with the procedure. :)


4. some web pages: xxx.porn. com, xxx.pornHardxxx.com, www.Games.com, perhaps try squid acl lists and transparent proxy-ing.


Misread your question. I thought you were trying to deny acces to your site to those 10 people. If you are trying to block certain pages then yes I would use squid or for that matter any proxy server and block those pages using Acess Control List and setup transparent proxy.

Answers to your other questions will follow soon.

multescugeorge@
17th November 2006, 10:21 AM
a) also cups must be configured to allow remote requests, firewall must be set to allow incoming print requests, and SeLinux settings tweaked a bit.
b) correct, altho i think Nickisgod1 wanted to say nfs there
c) never thought of that, but a disk quota seems more effective, and users don't have much access anyway, the little they have can be taken away with file/folder permissions

jimmy20013
17th November 2006, 10:28 AM
a) also cups must be configured to allow remote requests, firewall must be set to allow incoming print requests, and SeLinux settings tweaked a bit.

I have this bad habit of taking things for granted. The things that you stated seemed so obvious to me that I didn't think them worth mentioning. To me it was like Turn on the computer first. :) But you are right. I should be more detailed and present a complete explanation.

BandC
17th November 2006, 04:59 PM
You're answering the questions people ask. Are you a person who needs to hire this admin or are you an interviewee who prepares for such an interview? I'm just confused that's all. :) In any case, I think it's a useful thread.

jimmy20013
17th November 2006, 10:29 PM
I am the one who is going to be interviewed and its a phone interview so they won't get to test my skills. They are just going to ask me a bunch of questions whose answers you can easily google.

I wish it was a face to face and they would give me a challenge like setup a DNS server, mail server and backup server with the following configuration within this amount of time or something similar.

Seve
17th November 2006, 10:31 PM
Hello:
Do you have a sister ?

Seve

jimmy20013
17th November 2006, 11:44 PM
Hello:
Do you have a sister ?

Seve

No but I always wanted one. I know there is some humour involved in the question but I think I am just too tired to get it right now.

Seve
17th November 2006, 11:55 PM
No but I always wanted one. I know there is some humour involved in the question but I think I am just too tired to get it right now.
Hello Jimmy:
Please accept my apologies. :)
I know your original question was serious. To that point, I would take a few moments to lay out some requirements of the position you want to fill. Along the line of a basic job description with required skills etc, and go from there.
If the basic education and skill set is there and you feel the person [him/her] would be a good organizational fit, then go for it.

Seve

jimmy20013
18th November 2006, 12:05 AM
Hello Jimmy:
Please accept my apologies. :)
I know your original question was serious. To that point, I would take a few moments to lay out some requirements of the position you want to fill. Along the line of a basic job description with required skills etc, and go from there.
If the basic education and skill set is there and you feel the person [him/her] would be a good organizational fit, then go for it.

Seve

Hey Seve,
I didn't take any offense.I have a sense of humour or atleast I hope so :) .
They are looking for someone who is familiar with DNS servers, Kickstart installations, Netbackup, Windows AD :eek: , Windows :eek: , Linux particularly RHEL and networking protocols.

An example question I was asked and I am ashamed to admit it, is how would you configure a Linux box to point at a particular DNS server?

I really hope they ask me something more challenging than this because any hare brained moron even with a little exp. can answer that question.

My apologies to the hare brained morons. :p

Seve
18th November 2006, 12:20 AM
Hello Jimmy:
Okay ..... you are going for the interview?
Obviously, you have some great talent and really, you should not be worried.
Every organization is different and all you can do is put your best foot forward and I am sure you will do fine.
If you were asked for an interview, then without question you are in the running.
Good Luck :)
Seve

jimmy20013
18th November 2006, 12:27 AM
Thanks for the advice Seve. This is my first big interview and I am just curious. I am 21 and have never been interviewed for a job before.
I got the other jobs I ever had just because I demonstrated skills and I am not going to able to do that here and that is kinda bugging me.

Seve
18th November 2006, 12:34 AM
Thanks for the advice Seve. This is my first big interview and I am just curious. I am 21 and have never been interviewed for a job before.
I got the other jobs I ever had just because I demonstrated skills and I am not going to able to do that here and that is kinda bugging me.
Hello Jimmy:
Well the good news, is they can't eat you :)
I am sure you will do very well. Find out as much as you can in advance about the organization .. what they do, where they do it etc. and just be yourself and positive and all will be well :)

Seve

Dan
18th November 2006, 12:41 AM
I really hope they ask me something more challenging than this because any hare brained moron even with a little exp. can answer that question.

My apologies to the hare brained morons. :cool: I'm trying very hard not to take that personally! :D

On a more serious note, You're resume got you this far. Your technical skills are listed there.

[soapbox speech]
That's good enough for me at this interview. As an employer, I won't ask you a whole lot of questions about that.

What I will ask, are questions designed to learn a bit about your expectations, work ethic, problem solving skills not specific to the technical work, but to the other techs and non-technicians you are going to be working with. If I see a weak work ethic, cagey answers, compatibility issues, or tolerance problems, or inability to adapt to a dynamic working environment, you'll never make it to the follow-up.

Remember that 90% of success and longevity in a job is, "being there on time, every day." Your potential employers know that. They will expect you to as well.
[/soapbox speech]

jimmy20013
21st November 2006, 03:42 PM
Ok, I had my tele interview today. It was supposed to be an hour long but it last about 16 mins. These were the questions I was asked by the IT people.
1. Difference between layer 2 and layer 3 devices?
2. What is VLAN?
3. What is the subnet for a class C network?
4. Are you familiar with automounter?
5. Have you configured an NIS server/client?
6.Have your configured a NFS server?
7. Windows and Linux interoperability how to?

Needless to say, I aced it. I don't know of their decision yet but if I don't get hired, it will be only because they found someone better looking than me. :)

wshawn
1st December 2006, 06:41 PM
After twenty years of interviewing and rescuing "entry and mid level" admins, I find most of these questions typical, but none of which I would ask. I agree with TangledWeb. Here are a few fun questions:

1) In 10 words or less what is the job of the system admin (can be answered in four words)?
2) Who owns the network / system to be administered?
3) If you were to given access to our server / system and 60 seconds with root access how would you completely make the computer inoperable without damaging any data?
4) What is the number one priority for a sys admin (two word answer will work)?
5) What implementation would you use to cover your butt?
6) How much uptime do you asssume we will be experiencing?
7) What is your thoughts / policy for introducing a new Operating System / Service Pack into the network?
8) How many system recoveries have you performed? What was the downtime? How did you recover?
7) Why should I hire you?

As a side note these are off the cuff, but mostly are actually asking you something else that what is in the words..