LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2003, 02:24 PM   #1
Gorbachov
LQ Newbie
 
Registered: Sep 2003
Location: Bankya
Distribution: ASPLinux v7.3 Vostok
Posts: 29

Rep: Reputation: 15
Deny Mounting my devices...


Hi,


Is it possible if I have Samba server with a share folder/device...
To deny that someone from the network to could mount it...

I want everyone to see and download from my folder/device but none of them to could mount it...!?
Is that possible...



Gorbachov
 
Old 10-20-2003, 03:45 PM   #2
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 30
well, isnt that already the case, since only root can mount?
 
Old 10-21-2003, 08:05 AM   #3
Gorbachov
LQ Newbie
 
Registered: Sep 2003
Location: Bankya
Distribution: ASPLinux v7.3 Vostok
Posts: 29

Original Poster
Rep: Reputation: 15
no no..

I Mean another network mashine with Linux to can mount my devices...? I want noone tomount my devices...?


Gorbachov
 
Old 11-02-2003, 03:53 PM   #4
Gorbachov
LQ Newbie
 
Registered: Sep 2003
Location: Bankya
Distribution: ASPLinux v7.3 Vostok
Posts: 29

Original Poster
Rep: Reputation: 15
Is this possible!?
 
Old 11-03-2003, 11:33 AM   #5
musrum
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Yes.

In your smb.conf file find the specification for your share. Make sure it contains 'public=no' and 'valid users=gorbachov'. For example, assuming the shared folder is /home/gorbachov/shared and your username is gorbachov, then:

[gorbachov_shared]
comment = Gorbachov's Shared Folder
path = /home/gorbachov/shared
public = no
writable = yes
valid users = gorbachov
 
Old 11-06-2003, 11:41 AM   #6
Gorbachov
LQ Newbie
 
Registered: Sep 2003
Location: Bankya
Distribution: ASPLinux v7.3 Vostok
Posts: 29

Original Poster
Rep: Reputation: 15
But this deny access from users that don't have password or user for this folder...I mean I want to deny users that know this password to mount this device...

But let me shwo you what is the structure...

For example there is one network...but one half of the network want to have internet @Lan...but the other one don't want or don't have money...so the half that want Internet have to change there network addresses with a real one...but in this new real one network there is a Network File Server...but this fileserver is only for the half that have Internet and have real addresses...so the Firewall on the NFServer accespt only calls from the IP's that have real IP's and have Internet...but the idea is that to deny a machine with a Linux that is with real IP to mount thist NFServer and give the mashines with NOT real IP's to download from this NFServer...

I have made the same thing / sharing mounted NFS's with the machines beheind me...so my ISP asked me to help him to to stop doing this thing someware else...
 
  


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
Trouble mounting devices aje Linux - Newbie 10 10-24-2004 12:55 AM
un/mounting loop devices box_l Linux - Software 4 08-05-2004 09:03 AM
Mounting Non-IDE Devices VxJasonxV Linux - Hardware 6 07-22-2003 11:57 PM
Mounting CD-Devices evilmonkey Linux - Newbie 10 06-16-2003 10:07 PM
Mounting SCSI devices MasterC Linux - Hardware 12 09-25-2002 02:06 AM


All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration