Describe how to mount shares in a Linux file system.

What will be an ideal response?


In addition to accessing shared files with smbclient, you can also mount a remote Samba share into the local file system, much like an NFS export. This is done using the mount command:
mount -t cifs //server_name/share_name /mount_point
For example:
mount -t cifs //da1/data /mnt/samba
In this example, the data share on the da1 Samba server is mounted into the /mnt/samba directory. The -t cifs option specifies that the resource to be mounted is an SMB share.
If the share requires authentication, you can also supply a username, as in the following:
mount -t cifs -o username=geeko //da1/data /mnt/samba
You will be prompted for the password.
It is also possible to provide the password in the command, as in the following:
mount -t cifs -o username=geeko,password=novell //da1/data /mnt/samba
However, the password will be visible in the password history. If you use the /etc/fstab file to mount the file system, every user on the system could view the password. The solution is to provide the password in the /etc/samba/smbfstab file that is only readable for the system administrator.

Computer Science & Information Technology

You might also like to view...

____ are useful when you want to link parts of a graphic to different pieces of information.

A. Alt tags B. Tables C. Image maps D. Src tags

Computer Science & Information Technology

Choose the correct sentence.?

A. ?Today Karen read the news article, "What's in It for Me," and three chapters of the novel, The Jury. B. ?Today Karen read the news article, What's In It for Me, and three chapters of the novel, The Jury. C. ?Today Karen read the news article, "What's In It for Me," and three chapters of the novel, "The Jury."

Computer Science & Information Technology

The underlined word in the following sentence is punctuated correctly. In a chart, you should write 3 minutes 54 seconds as 3"54'.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is least likely to happen if problems are identified during startup?

A. The computer or device may beep. B. Error messages may display. C. The computer or device may cease operating. D. The computer or device may restore itself to its default settings.

Computer Science & Information Technology