🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.large
Article #2

Re: Network wide UID/GID Finder Changer

#2
From: Tom Christiansen
Date: Sat, 31 Oct 1992 16:44
19 lines
1277 bytes
From the keyboard of acker@se01.wg2.waii.com:
:We are trying to consolidate about 8 different password files into one
:master password file.  I would like to know if someone has a script that
:will go out and change the UID/GID from the old to the new all over the
:network.

I have one, called mvids, written in perl.  It doesn't handle closures,
as in:

    mv uid 4 to 3
    mv uid 3 to 2
    mv uid 2 to 4

but if you have a simpler mapping, it will work fine.  I've seen
versions that go down to the inodes and munge, and thus run much 
faster, but I don't have a copy of these.  You can get mvids from 
convex.com:/pub/perl/scripts/mvids via anon FTP if you want.

--tom
Technical Details
Message-ID: <1992Oct31.164410.25984@colorado.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!alumni.cs.colorado.edu!tchrist
References: <1992Oct23.141308@se05.wg2.waii.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.large
Path: arc1-ca.pugleaf.net!sparky!uunet!boulder!alumni.cs.colorado.edu!tchrist
From: Tom Christiansen <tchrist@convex.COM>
Subject: Re: Network wide UID/GID Finder Changer
Message-ID: <1992Oct31.164410.25984@colorado.edu>
Originator: tchrist@alumni.cs.colorado.edu
Sender: news@colorado.edu (The Daily Planet)
Nntp-Posting-Host: alumni.cs.colorado.edu
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: CONVEX Realtime Development, Colorado Springs, CO
References: <1992Oct23.141308@se05.wg2.waii.com>
Date: Sat, 31 Oct 1992 16:44:10 GMT
Lines: 19