Skip to main content

List all the Network file system (NFS) scripts.

63.List all the Network file system (NFS) scripts.
Ans.
1. sync – It forces NFS server to perform disk write operation before informing client that request is complete.

2. async – It makes NFS server to cache disk write operation.

3. hide – It hides subdirectory of an exported file system.

4. nohide – It unhide subdirectory of an exported file system.

5. ro – It gives read only access to clients who has mounted the exports.

6. rw – It fives read/write access to clients who has mounted the exports.

7. root_squash – It prevents root user on an NFS client from having root privileges on NFS server.

8. no_root_squash – It disables root_squash.

9. secure – It accepts only if generating from port numbers less than 1024.

10. insecure – It accepts client’s request even if generating from port numbers higher than 1024.

11. secure_blocks – It requires clients to be authenticated who request for lock operation.

12. insecure_locks – It doesn’t require clients to be authenticated who request for lock operations.

13. subtree_check – It ensures only a part of filesystem is exported and file requests apply to files in the exported portion of the file system.

14. no_subtree_check – It disables subtree_check.
Two additional configuration files if you’re using NFSv4

15. /etc/gssapi_mech.conf – It implemets NFSv4 features. It controls gss daemon one need the information to configure secure RPC. It needs no modification.

16. /etc/idmapd.conf – It is idmapd daemon. It translates NFSv4 IDs to user and group.

Comments

Popular posts from this blog

Explain the tools used to monitor system security.

12.Explain the tools used to monitor system security. Ans. 1. People who, for purpose of larceny or to amuse themselves, like to break into computers, they are called ‘crackers’. 2. If there is a vulnerability in a system they will find it and use it against you. 3. Preventing use of your machine for nefarious purpose and guarding against intrusion are, in the end, your responsibility alone. 4. Red hat equips you with tools to detect and deal with unauthorised access of many kinds. 5. You need to configure those tools and understand how to sense the warning they provide. 6. Fortunately Linux is development community is quick to find potential exploits and to create ways of slamming the doors before crackers can enter in your system. 7. Red hat is careful enough to making available new, patched version in which potential exploits have been found. 8. You should make sure to download and install the repaired package. 9. This line of defence...

Explain the file systems supported by Linux.

21.Explain the file systems supported by Linux. Ans. 1. Linux can read/write to several file system that originated with other operating system much different from Linux. 2. One reason that Linux supports so many file systems is the design of its virtual file system (VFS) layer, its provides a fairly universal forms of file support, file systems supported by Linux are as follows: 3. ext3: • Ext3 stands for third extended file system. • Starting from Linux Kernel 2.4.15 ext3 was available. • The main benefit of ext3 is that it allows journaling. • Journaling has a dedicated area in the file system, where all the changes are tracked. • When the system crashes, the possibility of file system corruption is less because of journaling. (If no journaling, then fsck command (file system consistency check) is used to check for the corrupted file and to repair that file). • ext3 keeps a record of uncommitted file transactions and applies only those transactions when the sy...

Explain the backing up and restoring files in Linux.

9.Explain the backing up and restoring files in Linux. Ans. 1. Backing-up and restoring files is done only by system administrator. 2. Because of built-in features, Linux doesn’t allow users to back-up their own files to removable disks. 3. It’s not enough to know that performing backup is your job, you need to formulate a strategy to making sure your system is not vulnerable to sudden disastrous disruptions. 4. If you have a high capacity tape drive and several good set of restore disks you can take backup every few days. 5. If you are managing a system with scores of users, you might find it more sensible to back up accounts and system configurations. 6. Only you can decide ‘what’ to backup, you need to decide ‘how frequently’ to perform backups, whether to maintain series of incremental backup. 7. You should maintain perfect backups without ever needing to restore to them, this means encouraging users to keep multiple copies of their important files in their ho...