Find the answer to your Linux question:
Results 1 to 5 of 5
I've a Nis server (worked fine) I wanto to permit only some username to login with to some hostname . Example : USER1 -> can login with NIS_SERVER_AUTHENTICATION to HOST1 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10

    NIS server by user hostname


    I've a Nis server (worked fine)

    I wanto to permit only some username to login with to some hostname .

    Example :

    USER1 -> can login with NIS_SERVER_AUTHENTICATION to HOST1 (but not to other server/client)


    USER2 -> can login with NIS_SERVER_AUTHENTICATION to HOST2 (but not to other server/client)

    It's possible ?

    How can I configure it ?

    Thanks

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,655
    How are they logging in - direct console keyboard, telnet, ssh, other?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    ssh .

    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,655
    One way is to specify the user ids in the AllowUsers and DenyUsers fields in /etc/ssh/sshd_config. You should read the sshd and sshd_config man pages for more information, as well as look at the /etc/sshd_config file.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    10
    but this solution not associate id/user with machine(source) and not use NIS .

    Thanks

Posting Permissions

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