LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-01-2006, 08:11 PM   #1
slackamp
Member
 
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, 09:40 AM   #2
julot
Member
 
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, 10:58 AM   #3
davidsrsb
Member
 
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, 08:44 AM   #4
slackamp
Member
 
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.
 
  


Reply


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 01:16 AM
smbmnt not setting right uid mdkelly Linux - Networking 0 11-12-2004 10:25 AM
smbmnt DoubleOTeC Linux - Networking 2 08-13-2004 11:01 AM
smbmnt - setuid root harperonline Linux - General 1 11-16-2003 05:15 AM
what is the diffrence between smbmount and smbmnt,Please answer me!Thanks! whepin Linux - Networking 1 12-20-2001 12:34 PM


All times are GMT -5. The time now is 12:15 PM.

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