NIS Users and Local Users

Discussion in 'Linux Networking' started by Dusty, Nov 20, 2003.

  1. Dusty

    Dusty Guest

    Quick basic question on NIS... I would like to setup NIS for centralized
    password (shadow) authentication, along with autofs for nfs mounted home
    directories in /home. My question is, if I also had those same users setup
    locally with /home directories and various local group memberships... how
    would that effect NIS? Would the autmounter then mount the NFS /home/user
    "over the top" of the existing /home/user? Assuming the /etc/nsswitch is
    configured with "nis files" as the preferred order, and that passwd is the
    only NIS map, how would having a user and group configured locally as well
    as on the NIS server be problem.
     
    Dusty, Nov 20, 2003
    #1
    1. Advertisements

  2. Dusty

    PDock Guest

    Because automounter would overlay the entire /home directory
    Your better course of action is to establish NIS users with a /home/users
    <nisuser> with passwd using that home dir.
    On local machine same user would be in /home/<user> with that passwd file
    having that home dir.
    Then when user logins in at machine he is a local user he uses /home
    hisfiles
    When same user logs in on any other machine he uses /home/users/hisfiles.
    Problem is you need a method to sync those two directories.
    Hope this helps
    ppd
     
    PDock, Nov 22, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.