Please tell me how to share the CDROM attaching on my RedHat 7.1 Linux box so that the other Windows 98 PCs can use it. Because I am new to Linux, so please tell me step by step to do that.
In this case, you would likely share /mnt/cdrom as read-only.
You really need to do this yourself. There is no easy way to tip-toe into the linux world - you need to plug your nose and dive in. Break some stuff. Reinstall it a dozen times. Forego sleep for awhile.
It can be costly (in terms of time and frustration), but it is immensely rewarding.
Hand-holding is not the best way to learn this stuff.
Best Regards,
Steve 'Then I thought - it is easier to get out of the way when we are in it, than to get in when we are out'... John Bunyon, "Pilgrims Progress"
Or just uncomment swat in inetd.conf or xinetd.conf,
use your browser to hit localhost:901 and save yourself
the thirty+bucks; and get the job done while learning.
In the meantime this should work:
[global]
workgroup = (name of your wkgrp)
security = share
netbios name = SAMBASERVER
encrypt passwords = yes
install this as your smb.conf and run testparm.
then run a little start script
#!/bin/sh
ops=$(pidof smbd ; pidof nmbd)
if [ -z "$ops" ]
then
smbd && echo -e " `pidof smbd`:SAMBAUP."
nmbd && echo -e "`pidof nmbd`: NetBiosUP."
else
for aa in $ops
do
echo "$aa pids for smbd and nmbd-running."
done
fi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.