Create the user named jane and john.
Answer and Explanation:
1.useradd jane
2.useradd john
useradd command is used to create the user. All user’s information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.
Who ever creates the files/directories on /storage group owner should be automatically should be the same group owner of /storage.
Answer and Explanation:
1.chmod g+s /storage
2.Verify using: ls -ld /storage
Permission should be like:
drwxrws--- 2 root sysusers 4096 Mar 16 18:08 /storage
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
UESTION NO: 44 CORRECT TEXT
Who ever creates the files/directories on /data group owner should be automatically should be the same group owner of /data.
Answer and Explanation:
1.chmod g+s /data
2.Verify using: ls -ld /data
Permission should be like:
drwxrws--- 2 root sysadmin 4096 Mar 16 18:08 /data
If SGID bit is set on directory then who every users creates the files on directory group owner automatically the owner of parent directory.
To set the SGID bit: chmod g+s directory
To Remove the SGID bit: chmod g-s directory
One Package named zsh is dump on ftp://server1.example.com under pub directory. Install the package from ftp server.
Answer and Explanation:
1.rpm –ivh ftp://server1.example.com/pub/zsh-*
2.Package will install
rpm command is used to install, update and remove the package, -i means install, -v means verbose and -h means display the hash mark.
Make Secondary belongs the both users on sysadmin group.
Answer and Explanation:
1.usermod -G sysadmin john
2.usermod –G sysadmin jane
3.Verify by reading /etc/group file
Using usermod command we can make user belongs to different group. There are two types of group one primary and another is secondary. Primary group can be only one but user can belongs to more than one group as secondary.
usermod -g groupname username To change the primary group of the user
usermod -G groupname username To make user belongs to secondary group.
One New Kernel is released named kernel-hugemem. Kernel is available on ftp://server1.example.com under pub directory for anonymous. Install the Kernel and make previous new kernel is default to boot System.
Answer and Explanation:
rpm -ivh ftp://server1.example.com/pub/kernel-hugemem-*
2. vi /etc/grub.conf
Set the default to new kernel
default=0
Example of /etc/grub.conf
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux ES (2.6.9-5.ELhugemem)
root (hd0,0)
kernel /vmlinuz-2.6.9-5.ELhugemem ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-5.ELhugemem.img
title Red Hat Enterprise Linux ES (2.6.9-5.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-5.EL.img
rpm command is used to install, update and remove the rpm package. -ivh option is install, verbose, and display the hash mark.
Install the dialog-*
Answer and Explanation:
Questions asking you to install the dialog package from the server. In your Lab FTP server as well as NFS server are configured. You can install either through FTP or NFS.
1.Just Login to server1.example.com through FTP: ftp server1.example.com
2.Enter to pub directory: cd pub
3.Enter to RedHat/RPMS: cd RedHat/RPMS
4.Download the Package: mget dialog-*
5.Logout from the FTP server: bye
6.Install the package: rpm -ivh dialog-*
7.Verify the package either installed or not: rpm -q dialog
Create the directory /data and group owner should be the sysadmin group.
Answer and Explanation:
1.chgrp sysadmin /data
2.Verify using ls -ld /data command. You should get like
drwxr-x--- 2 root sysadmin 4096 Mar 16 17:59 /data
chgrp command is used to change the group ownership of particular files or directory.
Another way you can use the chown command.
chown root:sysadmin /data
Create the user named jeff, marion, harold
Answer and Explanation:
1.useradd jeff
2.useradd marion
3. useradd harold
useradd command is used to create the user. All user’s information stores in /etc/passwd and user;s shadow password stores in /etc/shadow.
There is a FTP server 192.168.0.254 and all required packages are dumped in /var/ftp/pub of that server and anonymous login is enabled. Install the Redhat Enterprise Linux 5 as an anonymous by creating following partitions:
/1000
/boot200
/home1000
/var1000
/usr4000
swap2X256 (RAM SIZE)
Answer and Explanation:
Note: Examiner will provide you the Installation startup CD. And here mentioned size may vary see on the exam paper.
1.Insert the CD on CD-ROM and start the system.
2.In Boot: Prompt type linux askmethod
3. It will display the Language, keyboard selection.
4. It will ask you for the installation method.
5. Select the FTP from the list
6. It will ask the IP Address, Net mask, Gateway and Name Server. Select Use
Dynamic IP Configuration: because DHCP Server will be configured in your exam lab.
7. It will ask for the FTP site name and Redhat Enterprise Linux Directory.
Specify the FTP Server: 192.168.0.254
Directory: pub Because anonymous login on /var/ftp.
8. After Connecting to the FTP Server Installation will start. Go up to the partition screen by selecting the different Options.
9. Create the partition According to the Question because Size and what-what partition should you create at installation time is specified in your question
10. Then select the MBR Options, time zone and go upto package selections.
It is another Most Important Time of installation. Due to the time limit, you should be
care about the installation packages. At Exam time you these packages are enough.
X-Window System
GNOME Desktop
(these two packages are generally not required)
Administration Tools.
System Tools
Windows File Server
FTP Servers
Mail Servers
Web Servers
Network Servers
Editors
Text Based Internet
Server Configuration Tools
Printing Supports
When installation will complete, your system will reboot. Jump for another Question.