CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: You are new System Administrator and from now you are going to handle the
system and your main task is Network monitoring, Backup and Restore. But you
don't know the root password. Change the root password to redhat and login in
default Runlevel.

Answer: When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't
know the root's password. To change the root password you need to boot the system into
single user mode. You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode
ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d



Category Red Hat Certification Exams Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.2) By 7690 users
Added on 8/2/2015
Views 54128
Rate it!
Question: You are new System Administrator and from now you are going to handle the
system and your main task is Network monitoring, Backup and Restore. But you
don't know the root password. Change the root password to redhat and login in
default Runlevel.

Answer:

When you Boot the System, it starts on default Runlevel specified in /etc/inittab:
Id:?:initdefault:
When System Successfully boot, it will ask for username and password. But you don't
know the root's password. To change the root password you need to boot the system into
single user mode. You can pass the kernel arguments from the boot loader.
1. Restart the System.
2. You will get the boot loader GRUB screen.
3. Press a and type 1 or s for single mode
ro root=LABEL=/ rhgb queit s
4. System will boot on Single User mode.
5. Use passwd command to change.
6. Press ctrl+d
Source: CoolInterview.com



If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
Create one partitions having size 100MB and mount it on /data.
View Answer
One Logical Volume named lv1 is created under vg0. The Initial Size of that Logical
Volume is 100MB. Now you required the size 500MB. Make successfully the size of
that Logical Volume 500M without losing any data. As well as size should be
increased online.
View Answer
Quota is implemented on /data but not working properly. Find out the
Problem and implement the quota to user1 to have a soft limit 60 inodes
(files) and hard limit of 70 inodes (files).
View Answer
One Logical Volume is created named as myvol under vo volume group and is
mounted. The Initial Size of that Logical Volume is 124MB. Make successfully that
the size of Logical Volume 245MB without losing any data. The size of logical
volume 240MB to 255MB will be acceptable.
View Answer
neo user tried by:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
files created successfully. Again neo tried to create file having 70K using following
command:
dd if=/dev/zero of=/home/neo/somefile bs=1024 count=70
But he is unable to create the file. Make the user can create the file less then 70K.
View Answer
Some users home directory is shared from your system. Using showmount -e
localhost command, the shared directory is not shown. Make access the shared users
home directory.
View Answer
In order to find out whether a certain type of hardware is supported by Red Hat Linux, where can you look?
A. The Red Hat Hardware Compatibility List (HCL)
B. /etc/devices
C. The kernel boot messages
D. The Red Hat installation disk
View Answer
What is the main configuration file for XFree86 version 4?
A. /etc/X11/XF86Config
B. /etc/X11/XF86Config-4
C. /usr/X11R6/bin/XFree86
D. XF86_SVGA
View Answer
Both RAID level 0 and Linear RAID provide capacity equivalent to the amount of storage you have. In other
words, there is no space reserved for parity or error checking. What, then, is the difference between RAID
level 0 and Linear RAID?
A. When using Linear RAID, data is not striped across drives.
B. When using Linear RAID, data is striped across drives.
C. RAID 0 provides some amount of error checking.
D. Linear RAID provides some amount of redundancy.
View Answer
The first ethernet card on a system is:
A. eth0
B. etho0
C. eth1
D. hme0
View Answer
Which of the following is a journaling filesystem?
A. ext2
B. vfat
C. minix
D. ext3
View Answer
Changes made with 'ntsysv' will take affect immediately.
A. True
B. False
View Answer
Windows 2000 will work with plaintext passwords by default so the 'encrypt password' option is not necessary
for Samba shares.
A. True
B. False
View Answer
Where do the binaries for XFree86 reside in?
A. /usr/X11R6
B. /etc
C. /etc/X11
D. /X11R6
View Answer
In order to set the time zone to 'US/Eastern' via Kickstart, what must be in the Kickstart configuration file?
A. tz US/Eastern
B. timezone US/Eastern
C. It is not possible to set time zone
D. timeconfig US/Eastern
View Answer
Software RAID, such as the Linux MD driver, are dependent on CPU as opposed to hardware RAID, which is
implemented on the interface controller itself.
A. True
B. False
View Answer
What is the difference between the DROP and REJECT targets in iptables?
A. REJECT will send an error packet back to the source system, whereas DROP will not
B. DROP will send an error packet back to the source system, whereas REJECT will not
C. They are equivalent
D. DROP is invalid, DENY must be used
View Answer
What is the prefdm file used for?
A. To specify the preferred X display manager to use
B. To setup preferences for GNOME
C. To do performance analysis of system CPU usage
D. To perform profiling of C code
View Answer
You can find all of the services managed by xinetd by looking at which of the following file or directory?
A. /etc/xinetd.d
B. /etc/inetd.conf
C. /etc/rc.d/init.d
D. /etc/xinetd.conf
View Answer
The first ethernet card on a system is:
A. eth0
B. etho0
C. eth1
D. hme0
View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All Red Hat Certification Exams Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.03125 Seconds