force user = root
in my /etc/smb.conf file to force samba to consider all users that use the
zip share to be root
1. automount & samba & passwords
I have set up automount to access shares on a Win2k server. The
relevant files are given below:
File /etc/auto.master:
/vol /etc/auto.vol --timeout=30
File /etc/auto.vol
sulfurd -fstype=smb,username=MYUSER,password=MYPWD ://sulfur/d$
Now, I feel very uncomfortable with having an unencrypted password in
a text file. I tried to rewrite auto.vol as follows:
sulfurd -fstype=smb,username=MYUSER,password= ://sulfur/d$
sulfurd -fstype=smb,username=MYUSER ://sulfur/d$
sulfurd -fstype=smb ://sulfur/d$
I was hoping that I would be prompted to give the password and
possibly the user name at the time when the directory would be
mounted.
Now, I have also added a line to /etc/fstab:
//sulfur/d$ /mnt/sulfurd smbfs fs=noauto,user,-o,username=MYUSER
Using mount (and implicitly smbmount) to mount the share I do get a
prompt for the missing password.
I am doing all this on a Mandrake 9.0 system.
I would really appreciate if somebody could tell me how set up
automount so that it prompts for the password. Alternatively, If a
password must be provided, I would like to know, whether it could be
stored in encrypted form, rather than plain text.
Thank you very much in advance for your kind help,
Gerd
2. Automatic exit from xsession
4. 2.6 intel version boot disk
5. Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?
6. Restoration after ELF distribution upgrade - Advice?
7. Zip Zoom Cards & Zip Drives
10. ncsa 1.4.2 & symlinks & automount
11. automount: * -ro server:/dir1/& server:/dir2/& does not work on sol2.6
12. NIS & automount, w/Solaris & Linux