jerbear
08-05-2003, 04:56 PM
Hey all,
I'm somewhat of a newbie when it comes to linux - I really haven't even looked at it in a few years. However, I have a brand new Dell RedHat 8 box sitting on my desk at work now. I have samba working now. I noticed someone mentioned having trouble with getting swat working. I had to edit the file /etc/xinetd.d/swat. Mine currently has:
# default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
Originally the last line had "disable = yes"
Anyway, my question is: Has anyone tried mounting windows shares through the fstab file? I would rather not have to have the password sitting in a plain text file for obvious reasons. However, I am using the same username and password for the windows and linux boxes. If the fstab route wouldn't work, how about a script that runs on log on? Prompting for passwords at that point would be acceptable. I just have no idea how to do that. My scripting experience in linux is essentially zero!
Thanks,
JB
I'm somewhat of a newbie when it comes to linux - I really haven't even looked at it in a few years. However, I have a brand new Dell RedHat 8 box sitting on my desk at work now. I have samba working now. I noticed someone mentioned having trouble with getting swat working. I had to edit the file /etc/xinetd.d/swat. Mine currently has:
# default: on
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
Originally the last line had "disable = yes"
Anyway, my question is: Has anyone tried mounting windows shares through the fstab file? I would rather not have to have the password sitting in a plain text file for obvious reasons. However, I am using the same username and password for the windows and linux boxes. If the fstab route wouldn't work, how about a script that runs on log on? Prompting for passwords at that point would be acceptable. I just have no idea how to do that. My scripting experience in linux is essentially zero!
Thanks,
JB