Operating Systems > Linux and UNIX
no pwd for smb?
(1/1)
sporkme:
i would like to eliminate the password from the samba fs mount in the boot proces. i tried blank pwd, but it didnt like it. ideas? best way?
voidmain:
Do you mean when you boot Linux you want it to automatically mount a share on a Windows box (or other Samba server)?
If so use something like this in your /etc/fstab:
--- Code: ---
--- End code ---
Of course this is not very secure since you are putting your Windows password in a world readable file. You could also create a secure directory that would contain a small script to mount the share and call it from rc.local so it will mount the share without adding it to /etc/fstab. And I think there is a way to store the password encrpted in another location and still use the fstab method. I'll do a little research and get back with you. In the mean time the above should work (I just tested it).
[ August 28, 2002: Message edited by: VoidMain ]
sporkme:
im not too concerned about security, im not working for the nsa here
it works great, thanks!
if there is a better way shoot it my way, but really i just want it all to come back up after power outages without my attendance
Navigation
[0] Message Index
Go to full version