Test Paper for Linux system admins.
Solve and brief: 4*15=60 Marks
(a)Explain /etc/passwd file.And create a user satish having different home directory.
Note:This user home directory is on a logical volume group.
(b)How to Disable usb device detection in linux using grub?How to lock single user mode with a password?
How to change hashing algorithm of ur linux machine,show it by implementing it on one of ur linux users.
(d)How to secure ur terminal?how to lock/unlock ur terminal?How to make an user automatically login on terminal 16 and how you will go to terminal 16?
(e)Draw Flow Chart Diagram along with data distribution and configuration command of RAID611 .
Solve this Problem: 90 Marks
We have eight user A B C D E F G and H, and user A and B belongs to AB group whereas user C and D belongs to CD group.We have a file inside/ home/tiwary/rasagulla directory name satish.txt whose user owner is E and whose group owner is AB. User owner of the file have full permission to read write and execute and group owner have permission to read write except user B who has only read permission.And others have only read permission except user H who have read write and execute permission.Group CD has read permission except user D who have write permission too.But non of user have right to delete the file.
Note1:This file resides in a folder where a swap file is also resides side by side. And these both files resides on a logical volume “lv11” and this lv11 resides on a volume group vg00.
Note2: initial there was two volume group vg00 and vg11,and after merging these two volume groups we have now one and final volume group left named vg00.
Note3:volume group vg00 resides on a RAID-01 device named /dev/md3 which is created over loop devices.