Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-01-2006, 09:11 PM   #1
Registered: Dec 2005
Distribution: slackware-current
Posts: 86

Rep: Reputation: 16
smbmnt setuid

hello everyone, well i just wanted to ask if it is a security risk that smbmnt and smnunmount has the setuid enabled. i wanted to be able to mount a samba share as a user without editing fstab and the only way I was able to accomplish this was by making smbmnt and smbunmount setuid.
Old 10-02-2006, 10:40 AM   #2
Registered: Feb 2005
Location: Bogotá, Colombia
Distribution: Slackware
Posts: 36

Rep: Reputation: 15
I don't know, you sohuld write to the mailing lists and tell us all the answer

On the other hand, why don't you try pam_mount? it mounts smb shares (and several other stuffs) on login time, and I'm almost sure that you can allow your users to define which mounts do they want
Old 10-02-2006, 11:58 AM   #3
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
I don't think that it's too bad.
But then you should not have Samba exposed to the Internet and never suid smbmount
Old 10-03-2006, 09:44 AM   #4
Registered: Dec 2005
Distribution: slackware-current
Posts: 86

Original Poster
Rep: Reputation: 16
thanks davidsrsb, i did see in a man page that smbmnt is meant to be suid and not sbmmount. it will only be internal to my local network.

julot, i don't think slackware supports PAM and i like it that way also.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
question about smbmnt/smbmount Lleb_KCir Linux - General 7 11-23-2004 02:16 AM
smbmnt not setting right uid mdkelly Linux - Networking 0 11-12-2004 11:25 AM
smbmnt DoubleOTeC Linux - Networking 2 08-13-2004 12:01 PM
smbmnt - setuid root harperonline Linux - General 1 11-16-2003 06:15 AM
what is the diffrence between smbmount and smbmnt,Please answer me!Thanks! whepin Linux - Networking 1 12-20-2001 01:34 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration