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

From: Steven Lembark (lembark@wrkhors.com)
Date: Sun Feb 04 2001 - 20:55:28 CST

  • Next message: Steven Lembark: "Re: [LUNI] Debian install frustrations."

    > 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?

    vi /etc/passwd /etc/group /etc/shadow;

    -- 
     Steven Lembark                                   2930 W. Palmer St.
                                                     Chicago, IL  60647
     lembark@wrkhors.com                                   800-762-1582
    -=-
    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 : Sun Feb 04 2001 - 20:58:37 CST

  •