zip, samba & automount

zip, samba & automount

Post by Kai Fische » Sat, 14 Nov 1998 04:00:00



Hi there,
I have a linux-samba-server and several win95clients. At the server I
installed a parallel zipdrive. I use the autofspaket to automount new
inserted zipdisks. The Problem is, that the disks always are mounted as
root, and permissions for normal user is read only. Is there a
possibility to modify in a way, win95user can get access to write on the
zipdisk?
 
 
 

zip, samba & automount

Post by Brett Gilber » Sat, 14 Nov 1998 04:00:00


While this may open some security issues I generally use

force user = root

in my /etc/smb.conf file to force samba to consider all users that use the
zip share to be root

 
 
 

zip, samba & automount

Post by Victor Wagn » Wed, 25 Nov 1998 04:00:00


: Hi there,
: I have a linux-samba-server and several win95clients. At the server I
: installed a parallel zipdrive. I use the autofspaket to automount new
: inserted zipdisks. The Problem is, that the disks always are mounted as
: root, and permissions for normal user is read only. Is there a
: possibility to modify in a way, win95user can get access to write on the
: zipdisk?
Does autofspaket use normal Linux mount options? If so, just
add umask=000,noexec as mount options to Zip-disk. It is what
I have in my fstab for zip (I also have iocharset, but it doesn't matter
for you)
--
--------------------------------------------------------
I have tin news and pine mail...

 
 
 

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

3. Automount & Samba

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

8. SHARED MEMORY, HELP ?

9. Zip Zoom & SCSI Zip Drive

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

13. automount zip drive?