Results 1 to 6 of 6
Help
Slight Problem Im Running Red Hat 8.0, with samba, i got a problem with a couple of windows machines connecting to some shares they read write fine but im ...
- 02-20-2003 #1Just Joined!
- Join Date
- Feb 2003
- Posts
- 2
Help A Dummy With Samba Permissions
Help
Slight Problem Im Running Red Hat 8.0, with samba, i got a problem with a couple of windows machines connecting to some shares they read write fine but im tryin to set permissions up because i dont want both machines accessing shares,
How do i set it up so only one of the windows machines can access certain share????
- 02-20-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You can add a "allow hosts" setting for each share. See smb.conf(5) for more information, since it's pretty dynamic.
- 02-20-2003 #3Just Joined!
- Join Date
- Feb 2003
- Posts
- 2
Samba
The Problem is that i have 2 shares on linux one called
/tmp and another called /public the problem is, i want the windows machine to access /public but not /tmp, but it allows me to access both i dont understand why
When Accessing /tmp i want it to say no you cant get in there???
- 02-20-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Add a "hosts deny = windows1" to the /tmp share. (Where windows1 is, of course, the name of the windows computer you want to deny access to)
- 02-20-2003 #5Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
valid users = <users>
You can list what users you want to access the share with that command.
- 02-20-2003 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Yeah, that would be my preferred solution, too, but it didn't seem to be what he wanted to do.


Reply With Quote