Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to share cd-rom

Posted on 1998-09-07
1
Medium Priority
?
278 Views
Last Modified: 2010-03-18
How to share cd-rom using samba I can share printer files fax ,but I don't know how to setup cd-rom as shared.
Also I have problem witb being unable to login to my server after is left for few houres after I put root and password I don't get anythink and I have to reboot to be able to login (redhat 5.0 )
0
Comment
Question by:JBURGHARDT
1 Comment
 
LVL 3

Accepted Solution

by:
marcelofr earned 200 total points
ID: 1586693
It works for me with the following configuration:

in /etc/fstab

/dev/hdd      /mnt/cdrom      iso9660      ro,noauto      0      0

in /etc/smb.conf

[cdrom]
      comment = interesting info on cdrom
      path = /mnt/cdrom
      public = yes
      writable = no
      printable = no
      force user = ftp

I think some of this entries are not mandatory to make it work... Anyway, maybe you need to update your samba and mount versions...

About the other problem, have you inspected carefully /var/log/messages and other logs in the same directory?

Good luck
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question