samba security

Protecting your Linux box

samba security

Postby smunir362 » Thu Feb 25, 2010 9:55 pm

Hi,
I have configured samba 3 in Red Hat Linux EL 4.
I am using this shared folder for all users to access without password.
I set up guest ok. It runs well.

But I want that user should execute files only but should not be able to list or view the files/folders....
How can I do that...


Regards,
Munir
smunir362
Cadet
 
Posts: 7
Joined: Sat Sep 29, 2007 6:51 am

Postby lambda » Thu Feb 25, 2010 10:02 pm

have you tried making the directory unreadable? try chmod 711 on it, and make sure it's owned by root or some other user that can't access it using samba.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore


Return to “%s” Security

Who is online

Users browsing this forum: No registered users and 2 guests

cron