Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: disk configuration: drive mounting



Marlo Rocci wrote:

[cleartext password in fstab]
> Am I the only one who thinks this could be a security issue?

If you don't specify the password, it will ask for it at mount time.
Also you can chmod 600 /etc/fstab, so only root will be able to read the
password (and mount is suid root).

> Aside from that, I had trouble getting it to work, it was not recognizing
> the network shared folder on the windows machine.  for troubleshooting
> purposes I created a share on my win2k (named slave)  box called "linux".  I
> used the smbclient -L file://host (smbclient -L //slave) command to try to
> see it.  it returned to following error:

Wherer did you get the file://host syntax from ?
It should just be the hostname (btw I think it would have been
better for the samba folks to use the same syntax as for nfs instead of
copying the windows syntax, e.g. host:/share instead of //host/share)
(which may be preceded by double slashes, but does not have to).

smbclient -L //foobar

Just works fine for me, but I have a local dns server running, so if it does
not work so easily, specifying the ip via the -I switch might help, e.g.

smbclient -I 192.168.0.42 -L //foobar

-- 
Tobias								PGP: 0x9AC7E0BC


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links