April 29, 2024, 01:30:27 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Samba Security Inquiry  (Read 3186 times)

Offline ronaldjayr_jover

  • Linux Noob !
  • *
  • Posts: 29
Samba Security Inquiry
« on: November 09, 2005, 02:14:44 PM »
Hi everyone!!!

Just want toa ask on how I can set the Samba server to deny a client on a certain department to open,edit and copy in the other departments files.

Thanks in advance.

 :D  :D  :D

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Samba Security Inquiry
« Reply #1 on: November 14, 2005, 06:28:59 AM »
u can use the parameters in smb.conf file

like
write = yes
readonly = no
browsable = yes

and u can use chmod command also, better to go for some tutorials



Gaurav

Offline ronaldjayr_jover

  • Linux Noob !
  • *
  • Posts: 29
Samba Security Inquiry
« Reply #2 on: November 16, 2005, 06:58:15 AM »
followup question sir,

 Im confused on wheter to use :

     force group = aaaa

            or

      read only = @aaaa

  on giving aaaa(group) a read only access to a certain files on a samba server.

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Samba Security Inquiry
« Reply #3 on: November 16, 2005, 09:34:20 AM »
Actually  to give read only access u have to give
 read only = yes

if u r using the group for that, means the meaning of  force group = aaaa
means the members of the group aaa have all the permission on that share

Gaurav

Offline ronaldjayr_jover

  • Linux Noob !
  • *
  • Posts: 29
Samba Security Inquiry
« Reply #4 on: November 17, 2005, 02:26:03 AM »
good day!!!

  Thanks for the reply Gaurav...

  what if i dont want that group to have a write permission on that share?, should i write :

------------------------------
   [ FILE ]

path = /FILE
read only = no
browseable = yes
force group = aaaa
write list = mw

------------------------------

is my smb.conf conflicting? i have a aaaa group that i only want to view /FILE but only me can write to /FILE..


Thank you!

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Samba Security Inquiry
« Reply #5 on: November 17, 2005, 10:31:25 AM »
for that u have to enable option
read only = yes

Gaurav