Find the answer to your Linux question:
Results 1 to 2 of 2
I have a user on a Linux box with user 'test' I also have NIS+ provisioned with a user 'test' The local user has alot of environment setup within the ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    2

    Can local accounts and NIS+ accounts be shared

    I have a user on a Linux box with user 'test'
    I also have NIS+ provisioned with a user 'test'

    The local user has alot of environment setup within the home account that
    needs to stay there. The NIS+ 'test' account is required for a different set
    of servers but is shared by the server with local 'test' user. I am trying to
    understand if they can be coerced into being the same user account i.e.
    NIS+ records map to the local Jabber account. So on other boxes in the network
    the NIS+ account will be available, but logging into the Linux box mentioned
    above, you adopt NIS settings for 'test' user but also adopt the local
    environment and home account already established for test user.

    Is this possible? And how would it be achieved?

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    All you'd need to do is have the NIS server provide the UID/GID that matches the local user.

    I don't know what you'd gain from this, though. NIS is usually all about centralising accounts, passwords, etc. If you do this, changing the user's password on the NIS server wouldn't have any effect on the machine that was using the local account - you'd effectively have two passwords to the account.

    Maybe you just need to remove the Linux test machine from the NIS domain?
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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