Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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????

  2. #2
    Linux 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.

  3. #3
    Just 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???

  4. #4
    Linux 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)

  5. #5
    Linux 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.

  6. #6
    Linux 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •