Showing posts with label Red Hat. Show all posts
Showing posts with label Red Hat. Show all posts

Sunday, March 14, 2010

How to break root password !!!

How to break root password !!!

1) When you reach the grub screen press 'e' on linux.
2) Go to line which contains the word 'kernel' press 'e'
3) go to the end of that line and write 'linux single' or '1'
4) then press 'esc' twice and press 'b' to reboot the system
5) now wait for the prompt and then type 'passwd root'
6) enter new passwd

1) Boot the computer with linux installation CD
2) Enter the linux rescue mode by entering the following command in boot screen
boot:linux rescue
3) When the sh prompt is reached, enter the following commands to change root password:
#chroot /mnt/sysimage
#passwd
The above step will prompt you to enter your new password

Tags: rhel rhel5 rhce rhct hack how to break root password

===================================================


O************************O***********************O

Tuesday, January 12, 2010

YUM - Yellowdog Updater, Modified

The Yellowdog Updater, Modified (YUM) is an open-source command-line package-management utility for RPM-compatible Linux operating systems and has been released under the GNU General Public License.

Copy/Backup the RHEL5 DVD on the local hdd.
Mount DVD drive:
#mount /dev/cdrom /media
Now copy all the files from the DVD disk to the local Hard disk drive
#mkdir /var/ftp/pub/rhel5
#cp -avf /dev/media/* /var/ftp/pub/rhel5

To configure YUM server, following rpm's and services are required:

1.vsftpd->vsftpd-2.0.5.10.el5.i386.rpm
a). Run vsftpd rpm
#rpm -ivh vsftpd-*.rpm
b). iptables -I INPUT -p tcp --dport 20 -j ACCEPT
iptables -I INPUT -p tcp --dport 21 -j ACCEPT
iptables -I INPUT -p udp --dport 21 -j ACCEPT
iptables -I INPUT -p udp --dport 20 -j ACCEPT
c). For SELinux
setsebool allow_ftpd_full_access on
d). open the file :- vim
#vim /etc/sysconfig/iptables-config and modify below mention line
IPTABLES_MODULES="ip_conntrack_netbios_ns ip_conntrack_ftp"
Now your ftp server is ready to take the responsibilty of yum server.

2.createrepo -> createrepo-0.4.11-3.el5.noarch.rpm
#cd /var/ftp/pub/rhel5/Server
#rpm -ivh createrepo-0.4.11-3.el5.noarch.rpm
#cd..
#createrepo -vg /var/ftp/pub/rhel5/Server/repodata/comps-rhel5-server-core.xml Server

*****ON CLIENT MACHINE*****

#vim /etc/yum.repos.d/rhel-debuginfo.repo
[reposfile]
name= Updates
baseurl=ftp://ipaddress/pub
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY

Eg: #vim /etc/yum.repos.d/client.repo
{*you can use the following lines if configuring on a local PC*}
[server]
name=YUM configuration for the client PC
baseurl=ftp://127.0.0.1/pub/rhel5/Server
gpgcheck=0
====>>>>press esc key and type ->:wq - to save the file and exit from vim


*****************************************

Monday, January 11, 2010

How To Pass RHCE Certification Exam

If you want to pass RHCE ( RED HAT CERTIFIED ENGINEER) certification exam, here are some useful tips for you::

1. There are 3 sections in RHCE exam.
a) First is the qualifying exam. If you clear this one, then only you can proceed for next section. If you fail to qualify, you wont get any certificate from Red Hat.
b) If you clear the qualification round, you are qualified for the second section. If you clear the second section too, you will atleast get a RHCT certificate.
NOTE: Even if you fail to clear the qualifying round, please do appear for the rest of the exam. Your won't get any certificate even if you score 100% in next two sections. But atlest you will get an idea about the format of the exam.
c) Those who clear the second round, are then eligible for the third section, and if they clear it, they become RHCE certified.


2. Remember its not an easy exam and if you will make a simple mistake that can fail you. So be very carefull. Its completely a practicle exam, so make a backup copy of every config file that you modify. So that if something goes wrong, you can copy the original file back into the same folder.

3. Books::
The books provided by Red Hat are very good. When you enroll for the examination, you get 3 books from Red Hat.
You can also study
1) TATA McGRAW HILL's " RHCE Linux Study Guide" by Michael Jang
2) SAMS " RHEL 5 Administration Unleashed "



4. Install REDHAT ENTERPRISE LINUX 5.x (RHEL5.x) verison on your system.
You can also install VMWARE software and install a RHEL virtual machine on a Windows Terminal.

5. The only matra to pass this exam is " the more you practice, the more you learn ".

6. There are CBT Nuggets Videos tutorials also availabe. These videos are very helpfull. These videos teach you how to install and configure everything. Sometimes you find it lot more easier to learn from videos,rather than reading it from books. So follow whatever method suites you.

7. When you are appearing for the examination, do take one identification proof of yours like voter ID Card or a Driving license.

8. You are not allowed to take anything else in the examination room. So please do not take you vallet, books, mobile phones etc inside the examination lab.

9. While appearing for the qualifying round, make sure that you read the full instructions carefully. Please go through all the qualifying round questions first and then only start the exam. You are given one hour to solve the qualifying section. One thing very important to note here is that you can ask the examiner to check your machine ID and tell if your all the answers are correct. The examiner checks it from his terminal and informs you if you have any incorrect solution. You can then correct it and ask him again. If all your answers are correct he tells you that you have cleared the qualifying section and asks you to leave the room.




10
. You cannot discuss or publish the examination questions otherwise Red Hat can cancel your certificate.

Hope you will find the above tips helpfull and will regularly practice to clear this exam with flying colors. Best of Luck.


*** NOTE : I will also post more details about the format of this exam and the minimum marks required to clear the certification. Also post your comments and queries and I will try to reply back with solutions.


FOR MORE INFORMATION CLICK ON THIS LINK--->>> RED HAT WEBSITE

TAGS: rhce, redhat, red hat, redhat certified engineer, linux, rhel, rhel5, rhel5.x, red hat enterprise linux, rhce certification, red hat cert, fedora, unix, certiciation, certification exam


PLEASE DON'T LEAVE THIS BLOG WITHOUT WRITING YOUR COMMENTS

APPEAL:: PLEASE INPUT YOUR THOUGHTS ABOUT THE CONTENT OF THIS BLOG. THIS WILL HELP ME TO WRITE THE KIND OF CONTENTS YOU REQUIRE. THANKS.