Samba fstab
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Sat Apr 24 01:02:46 UTC 2004
Am Sa, den 24.04.2004 schrieb Adam T. Gautier um 01:40:
> I tried running "sudo chmod -s /usr/bin/smbmount /usr/bin/smbumount"
Not smbmount has to be chmod u+s!
> now mount reports:
>
> libsmb based programs must *NOT* be setuid root.
> 4067: Connection to TK-MARKETING failed
> SMB connection failed
>
> So, again how would I set the /etc/fstab so that a user can mount the
> SMB share?
1) su - <enter root password>
2) chmod u+s /usr/bin/smbmnt /usr/bin/smbumount
3) in /etc/fstab entry line for samba share mounts at 4th column
something like
credentials=/home/$user/.samba,uid=500,gid=500,rw,umask=002,noauto,users
4) mount samba shares then run like
mount /mn/samba_mountpoint
Alexander
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
Sirendipity 02:57:28 up 5 days, 9:43, load average: 0.52, 0.42, 0.30
[ Γνωθι σ'αυτον - gnothi seauton ]
my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040424/9978150b/attachment-0001.sig>
More information about the fedora-list
mailing list