samba security

Protecting your Linux box
Posts: 7
Joined: Sat Sep 29, 2007 6:51 am

samba security

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

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...


Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore

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 "" into their browsers but not ""?

Return to “Security”

Who is online

Users browsing this forum: No registered users and 1 guest