Samba fstab

From: Adam T. Gautier (adam_gautier_at_yahoo.com)
Date: 04/23/04

  • Next message: Wade Hampton: "Re: View PDF from command line?"
    Date: Fri, 23 Apr 2004 12:40:11 -0400
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    I am trying to add a line /etc/fstab that is a Samba mount of a windows
    share.

    /etc/fstab
    ...
    //192.168.2.101/movies /mnt/movies smbfs
    noauto,user,user,username=guest,password=password 0 0
    ...
    (All on one line, can't help the line wrap in email)

    sudo mount /mnt/movies works fine but when I right click in the Gnome
    desktop or try to do the mount as a regular user I get:

    smbmnt must be installed suid root for direct user mounts (500,500)
    smbmnt failed: 1

    How do I fix this so I can do smb mounts as a user? Would't setuid be a
    big security hole? I can mount a cdrom as a user no problem, does this
    us setuid?

    Thanks

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Wade Hampton: "Re: View PDF from command line?"

    Relevant Pages

    • Re: RFC: Adding a ``user mount option
      ... the user has to own the mount point in question. ... add a ``user'' mount option à la Linux. ... /etc/usermount.conf file and a new setuid utility usermountwhich would ... Generally speaking it's much better to add a new setuid program which does ...
      (freebsd-hackers)
    • Re: mount -t smbfs ... only root can do that
      ... > From man page of smbmout ... smbmount calls smbmntto do the actual mount. ... > smbmnt does final magic and it is setuid. ...
      (comp.os.linux.networking)
    • Re: RFC: Adding a ``user mount option
      ... the user has to own the mount point in question. ... /etc/usermount.conf file and a new setuid utility usermountwhich would ... the way mounting works now is fine for most ... However, for newer users, they don't get that removable media mounting ...
      (freebsd-hackers)
    • Re: Why mount utils nees a setuid bit?
      ... But why does it needs a setuid bit by default? ... Can a common user use 'mount' program successfully? ... be some kind of system wide policeman. ... mount (delegation of privs by the setuid root mount ...
      (comp.os.linux.security)
    • Re: Why mount utils nees a setuid bit?
      ... Even if root has added user options in /etc/fstab, ... But it seems that the setuid program in the ... That's a different issue than why mount needs setuid. ... setuid would allow anybody who could do a user-mount ...
      (comp.os.linux.security)