LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices

Reply
 
Thread Tools
Old 10-15-2009, 06:08 AM   #1
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3
urgent :S : RHCE: need some clarity


[Log in to get rid of this advertisement]
Hi all,

I have some questions which I know how to solve technically, however, do not know if they will give me full credits depending on what the solution is.

1. If an SElinux setting is the default but in that way is less secure should I change it if on my exam they ask to configure SElinux for a service?
Or should I just check that the service works without SElinux errors.

2. If there is asked to limit access to the local network this can be done in different ways: /etc/hosts.allow|deny, iptables, service configuration file, SElinux do I get fully credited if I just deny it with IPtables?
Or should all possibilities be used to limit access(do note that I have it about the RHCE exam and the credits you get for your work)?

3. If a question for example is: configure vsftp to allow access to the /home directories. Can I then use a chroot and disable anonymous login? or should I just disable anonymous login?

Any help would be much appreciated
linuxgentoo deadeyes is offline     Reply With Quote
Old 10-15-2009, 06:33 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 9.04
Posts: 8,185
Blog Entries: 3
Thanked: 97
You have to do what you think is right - that's what the exam is testing.
In general, stick to doing what is actually written down in front of you. Don't try to complicate the question.
linuxubuntu Simon Bridge is offline     Reply With Quote
Old 10-15-2009, 06:39 AM   #3
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3

Original Poster
Quote:
Originally Posted by Simon Bridge View Post
You have to do what you think is right - that's what the exam is testing.
In general, stick to doing what is actually written down in front of you. Don't try to complicate the question.
Take question 2: I can disable it with iptables, the service, ... But using only iptables will solve the problem. IMHO I don't see that this answer can help me in any way. I can't do anything with thinking I do it right when I actually do it wrong and want to do it right Having some answers on these questions should help me focus on what I really have to do and what is optional as this exam is time limited.

Also this example:
There is asked to create a 1000MB /home. Should the actual size to store files be literally 1000MB? Or can I create a partition that is 1000MB and will it be ok?
Or can I create a /home that is 1024MB then? will that give me still full credit?

Last edited by deadeyes; 10-15-2009 at 06:53 AM..
linuxgentoo deadeyes is offline     Reply With Quote
Old 10-15-2009, 08:45 PM   #4
descarte
LQ Newbie
 
Registered: Mar 2009
Location: melbourne
Distribution: rhel, centos, debian, ubuntu
Posts: 18
Thanked: 1
Quote:

1. If an SElinux setting is the default but in that way is less secure should I change it if on my exam they ask to configure SElinux for a service?
Or should I just check that the service works without SElinux errors.
As a good practice, you should but in exams, you don't get extra marks for that.

Quote:
2. If there is asked to limit access to the local network this can be done in different ways: /etc/hosts.allow|deny, iptables, service configuration file, SElinux do I get fully credited if I just deny it with IPtables?
Or should all possibilities be used to limit access(do note that I have it about the RHCE exam and the credits you get for your work)?
IN exam, anything that works, ie any single solution will do, be it tcpwrappers or service config or iptables. You don't get extra marks for doing all. But in real life, I suggest to use a few lines of defence and be paranoid.

Quote:
3. If a question for example is: configure vsftp to allow access to the /home directories. Can I then use a chroot and disable anonymous login? or should I just disable anonymous login?
Any help would be much appreciated
I don't quite understand the question but I dont see why someone should spend much time over the "disabling anonymous login" as this should be straight forward.

Quote:
There is asked to create a 1000MB /home. Should the actual size to store files be literally 1000MB? Or can I create a partition that is 1000MB and will it be ok?
Or can I create a /home that is 1024MB then? will that give me still full credit?
as long as you are not far off, the examiners wont be picky about that. They know it is hard to get the exact partition size so their marking script will be flexible in this area. I think the exam script would be clear in this area.

cheers.

Last edited by descarte; 10-16-2009 at 05:59 AM..
windows_xp_2003 descarte is offline     Reply With Quote
Old 10-16-2009, 12:11 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 9.04
Posts: 8,185
Blog Entries: 3
Thanked: 97
Quote:
Originally Posted by deadeyes View Post
Take question 2: I can disable it with iptables, the service, ... But using only iptables will solve the problem. IMHO I don't see that this answer can help me in any way. I can't do anything with thinking I do it right when I actually do it wrong and want to do it right
Most students sitting exams face this dilemma - you are concerned not so much that you achieve the asked-for result but that you produce the method the examiner will give the most marks to.

Where this matters, it is in your work notes for the course and really needs to be discussed with a tutor, since each examiner will mark the exam differently anyway.

Usually, with the RHCE exam, whatever completely fulfills the spec of the job description is given full marks. So you could describe a system which utilizes every method you can think of, with justification for them, and you'll get very good grades indeed... and run into time constraints.

So your problem is more about exam strategy.

Quote:
Having some answers on these questions should help me focus on what I really have to do and what is optional as this exam is time limited.
So you need example problem from the institution giving you the exam - anybody else can only tell you about general practise - you need to know how the practise will be marked.

Mostly, though, you are worrying too much.

Quote:
Also this example:
There is asked to create a 1000MB /home. Should the actual size to store files be literally 1000MB? Or can I create a partition that is 1000MB and will it be ok?
Or can I create a /home that is 1024MB then? will that give me still full credit?
Look at the section of your notes which talks about creating a /home directory and partition and use the method it says. It is most likely that all you need to do is create a 1000MB partition to house /home.

You are unlikely to be penalised for 1024MB partition, but that will not be a correct answer unless you state that you want to be sure that at least 1000MB file storage is available.

Where you are interested in the amount of file storage will be where you are administering user accounts on a file server. Users may be charged by their bandwidth. In which case, questions will specify this.

Strategy:
This is a proffessional certification - treat each question as a job spec. Your task is to fulfil this spec efficiently.

The time constraint is part of the efficiency test, the more complete your solution within the time the more marks you will get.

To manage time, many students use a three-pass method ... you go through the exam providing the minimum answers to complete the job. That way you answer all questions but some will not be complete. However, you should have time to spare, and your answers are likely to be a passing grade. Most students find this takes half to two-thirds the available time.

Next go through the paper again looking for solutions that could be more complete. This is the second pass - if you are provided with the weighting for each question (the number of total marks it is worth) then you want to make sure that your answers are consistent with the mark-weight compared with other answers.

Lastly, co over the paper in reverse order looking for mistakes. This is usually done in the last 5-10mins.

Philosophy: forget about getting the "right" answer. That does not exist and you'll only make yourself ill. Stick to efficiency.
linuxubuntu Simon Bridge is offline     Reply With Quote
Thanked by:
Old 10-16-2009, 12:54 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 9.04
Posts: 8,185
Blog Entries: 3
Thanked: 97
Lets look at your specifics in tems of exam strategy...
Quote:
Originally Posted by deadeyes View Post
1. If an SElinux setting is the default but in that way is less secure should I change it if on my exam they ask to configure SElinux for a service?
Or should I just check that the service works without SElinux errors.
If all you are asked to do is configure SELinux for a service than that is all you should do. For completeness, you may want to add that there may be security concerns in keeping the default configuration.

This is actually what you do professionally when a client gives you a job description which you think is poorly thought out - you tell the client, in a report, how you would go about doing what they ask, then add that you have concerns about what they ask for and detail them with what would be required to address those concerns.

It is up to the client to decide if they want those concerns addressed.

Quote:
2. If there is asked to limit access to the local network this can be done in different ways: /etc/hosts.allow|deny, iptables, service configuration file, SElinux do I get fully credited if I just deny it with IPtables?
Or should all possibilities be used to limit access(do note that I have it about the RHCE exam and the credits you get for your work)?
You need to read the question carefully for what sort of limit is needed to the access. If you want to block a particular host, then host allow/deny is the way to go.

Whichever you choose - choose by efficiency - it is the one which completes the job and is also the quickest to write down. If you need more than one approach, the marks will be a clue ... if other questions work out to 5 points per method and this question awards 10 points, then you'll probably need two methods - or one hard one.

Note: if the question just wants to deny access to a user, resetting that users password would be a correct answer.

Quote:
3. If a question for example is: configure vsftp to allow access to the /home directories. Can I then use a chroot and disable anonymous login? or should I just disable anonymous login?
Efficiency again - there are lots of ways to do this - in the absence of guidance, choose the one that is fastest to write down.

Use meta data to help you choose: Does the question want USER to have access to /home/$USER or does it want USER to have access to /home/* - what may be the purpose of this?How does this consideration narrow down your options (it will)?

No question is asked in a vaccuum - for RHCE you are expected to hae had experience and a course behind you. Use it.
linuxubuntu Simon Bridge is offline     Reply With Quote
Thanked by:
Old 10-16-2009, 01:16 PM   #7
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3

Original Poster
I studied without following a course and this morning I did do the exam.

Thank you all for you reactions and clearing this up for me!
This is greatly appreciated
linuxgentoo deadeyes is offline     Reply With Quote
Old 11-09-2009, 12:28 AM   #8
stevetokyo
LQ Newbie
 
Registered: Apr 2008
Distribution: CentOS/RHEL
Posts: 16
Thanked: 2
@deadeyes how was the result?,.. sorry just asking.
linuxcentos stevetokyo is offline     Reply With Quote
Old 11-09-2009, 04:21 AM   #9
deadeyes
Member
 
Registered: Aug 2006
Posts: 260
Thanked: 3

Original Poster
Quote:
Originally Posted by stevetokyo View Post
@deadeyes how was the result?,.. sorry just asking.
I failed on the rhce part. I don't have a clear view though on what I did wrong(I know some part for sure). I had expected to have better grades. And the exam structure was changed.
linuxgentoo deadeyes is offline     Reply With Quote
Old 11-09-2009, 03:30 PM   #10
stevetokyo
LQ Newbie
 
Registered: Apr 2008
Distribution: CentOS/RHEL
Posts: 16
Thanked: 2
@deadeyes sorry to hear that,.. but I am sure you will pass if you try again. Maybe, a more understanding of the question structure. descarte and Simon Bridge advices were straight to the point. I will keep their words in mind when resiting for mine.
linuxcentos stevetokyo is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i need tools to practice for RHCE exams like rhce-config was for RHEL4 ashu.wifi Linux - Certification 16 12-10-2008 05:48 PM
LXer: Maintaining clarity LXer Syndicated Linux News 0 03-21-2008 12:30 AM
LXer: One Laptop Per Child clarity LXer Syndicated Linux News 0 05-02-2007 04:01 PM
display clarity popcorn5714 Linux - Hardware 1 07-27-2002 11:40 PM
smtp clarity? ifm Linux - Software 0 06-07-2002 12:03 PM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration