Stop Microsoft
Welcome,
Guest
. Please
login
or
register
.
Have you missed your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length.
News:
Home
Help
Login
Register
Stop Microsoft
»
Operating Systems
»
Linux and UNIX
»
no pwd for smb?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: no pwd for smb? (Read 425 times)
sporkme
Member
Posts: 501
Kudos: 149
no pwd for smb?
«
on:
28 August 2002, 14:57 »
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?
Logged
just that you do not take an interest in politics does not mean that politics will not take an interest in you. -pericles 430 b.c.
voidmain
VIP
Member
Posts: 5,605
Kudos: 184
no pwd for smb?
«
Reply #1 on:
28 August 2002, 17:22 »
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:
[Select]
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 ]
Logged
Someone please remove this account. Thanks...
sporkme
Member
Posts: 501
Kudos: 149
no pwd for smb?
«
Reply #2 on:
29 August 2002, 02:01 »
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
Logged
just that you do not take an interest in politics does not mean that politics will not take an interest in you. -pericles 430 b.c.
Print
Pages: [
1
]
Go Up
« previous
next »
Stop Microsoft
»
Operating Systems
»
Linux and UNIX
»
no pwd for smb?