[LUNI] Symlinking /etc/passwd and /etc/shadow

From: Herbie Herbert (technowombat@yahoo.com)
Date: Sat Feb 03 2001 - 08:14:30 CST

  • Next message: Douglas Carmichael: "[LUNI] SGI desktop for Linux"

    Hey,
            Has anyone hit this one before. I'm trying to share my passwd and shadow files to multiple
    machines. I move /etc/passwd and /etc/shadow to a common area and symlink them back to /etc. Then
    I symlink the other machines /etc/passwd and /etc/shadow to the passwd and shadow files in the
    common area. All machines are trusted root on the shared area and everything works nicely.

    That is until you add a newuser using useradd. Then the link is broken and /etc/passwd and
    /etc/shadow are real files on the local system again. Does anyone have a better way to do this so
    that this doesn't happen?

    Herbie

    =====
    ----------------------------------------------------------------------------------------------
    Check out Chicago Linuxfest http://chi.linuxfest.org for information on your next Linuxfest.
    ----------------------------------------------------------------------------------------------

    __________________________________________________
    Get personalized email addresses from Yahoo! Mail - only $35
    a year! http://personal.mail.yahoo.com/
    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Sat Feb 03 2001 - 08:16:43 CST

  •