0% found this document useful (0 votes)
42 views3 pages

Model Question Paper

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views3 pages

Model Question Paper

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

B SYSTEM 1

1.configure network 172.24.1.5


netmask: 255.255.255.0
Gateway: 172.24.1.254
DNS:172.24.1.254

2. Create default repo files a. BaseOS ,b. AppStream

3.webserver not working on port 82 tcp

4. create the following user, groups, and group memberships:


• A group named sharegrp.
• A user natasha who belongs to sharegrp as a secondary group.
• A user harry who also belongs to sharegrp as a secondary group.
• A user sarah who does not have access to an interactive shell on the
system,and who is not a member of sharegrp.
• natasha, harry and sarah should all have the password of tunfossa.

5. Create a collaborative directory /home/admins with the following


characteristics:
• Group ownership of /home/admins is sharegrp.
• The directory should be readable, writable, and accessible to members of
sharegrp, but not to any other user. (It is understood that root has access to
allfiles and directories on the system.)
• Files created in /home/admins automatically have group ownership set to
the sharegrp group

6. Station would configure the automounter such that ldapuserX [x is


station no : 13] / Remoteuser home directory /home/guests/ldapuserX gets
mounted automatically upon login.The NFS share would be
classroom.example.com:/home/guests/ldapuserX. home directories must
be writable by their users. ldapuserX user have password of "password".

7. Locate all file of user natasha on your system and save the list of all
files in /var/resultdir.

8. The user Natasha must configure a cron job that runs daily after every 1 min and
executes logger “Hello root”

9. Configure your system so that it is an NTP client of classroom.example.com.


server ka s should be small
10. Create a user joe on your system which has to your system having user id to
1088 With the password postroll.

11. Create a /root/file.tar.bz2 file which will takes backup [bzip2 l] backup of /usr/local

12. Find the word ich from the file given in the /usr/share/dict/words and copy those
lines to /root/result.txt

13. 1. Set the password expiry to 20 days for all upcoming users. 2. Whenever user
student creates a folder it should have rwx-------- x: permission and when he creates
a file it should have rw ------- - -.

14. create a script myshare at /usr/bin such a way that whenever it get executed it
should find all files in /usr less than 10 MB & having special gid [SGID] bit on it &
redirect it to bits.

15. . 1. Download the Containerfile from the given url.


2. Create image with the name Yash from the given Containerfile. Do not
do any changes in the given Containerfile.

16. ● Create a container named web from an image yash on node1 .


Service name should be container-web, and configure it to start
automatically across reboot.
●Container should automount /local/outgoing from local m/c to
/usr/local/out of the container. Also /local/input from local m/c should
automount to /usr/loca/in of the container
You have to solve the question as yash user
SYSTEM 2

1. Break root user’s password and set tunfossa.

2. Create a repository

3. Resize the logical volume “xyz” 300MB , accepted value range [250-350M]

4. Create a new swap partition of 512M and make it active on boot time.

5. Create the new logical volume “datastore” inside volume group “database”
with thefollowing keynotes – Volume group physical extent size must be 16
MB It should be mounted under /common/classes with ext4
/ext3/vfat(automount after reboot as well).

6. Change the Tuned profile to the appropriate profile as mentioned in


Recommended.

You might also like