[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SAGE] Looking for reuse: Script to change users UID, change group GID & re-permission files on large scale



On Tue, Jan 18, 2005 at 01:33:01PM -0800, Carlson, Scott wrote:

> We've created an opportunity (!!) within my company here that I need to
> renumber (read UID and GID's) approximately 3000 UNIX accounts across 2000
> aix/solaris/redhat machines.
>  
> Rather then spend time writing sets of scripts to do this, or worry if I got
> my find parameters right, I'm hoping that someone out there will have this
> exact thing sitting in their script repository.  Anyone care to share
> anything that has worked miracles for them when they've renumbered accounts
> in this manner?

*Long* ago there was a wonderful little utility called 'uidswap' that did
just what you describe, fast and efficient.  I dunno where it went to, but
hey, google is your friend...
-- 
"There's a lot of my personality in my characters. I think that's why
 smart-asses are over-represented."
    Christopher Moore, in http://www.chrismoore.com/world_domination.htm