Re: old vs new system uid/gid

2013-05-08 Thread Bob Proulx
Ross Boylan wrote: > Bob Proulx wrote: > > Ross Boylan wrote: > > > If I don't adduser then home directories won't be created, even though > > > /etc/passwd will refer to them. I figured that would lead to > > > problems. > > > > But you said you were restoring an old system and had backups of use

Re: old vs new system uid/gid

2013-05-08 Thread Ross Boylan
On Wed, May 8, 2013 at 1:10 AM, Bob Proulx wrote: > Ross Boylan wrote: > > Bob Proulx wrote: > > > > I suppose it would be safer to have a script read the old files and > > > > do adduser/addgroup as appropriate, since that would assure the home > > > > directories existed (and maybe do other stu

Re: old vs new system uid/gid

2013-05-08 Thread Bob Proulx
Ross Boylan wrote: > Bob Proulx wrote: > > > I suppose it would be safer to have a script read the old files and > > > do adduser/addgroup as appropriate, since that would assure the home > > > directories existed (and maybe do other stuff I'm not aware of). > > > > Safer how? It seems much more c

Re: old vs new system uid/gid

2013-05-08 Thread Ross Boylan
Thank you, Bob. As always you are very helpful. Followups below. On Tue, May 7, 2013 at 10:30 PM, Bob Proulx wrote: > Ross Boylan wrote: > > It would be very handy if, while creating a new system, I could > > replicate the uid and gid's of an old one--by which I mean replicate > > the mapping

Re: old vs new system uid/gid

2013-05-07 Thread Bob Proulx
Ross Boylan wrote: > It would be very handy if, while creating a new system, I could > replicate the uid and gid's of an old one--by which I mean replicate > the mapping of numbers to names. I want to restore the old system, > and my backup system (bacula) uses numeric uid/gid only. My backups >

old vs new system uid/gid

2013-05-06 Thread Ross Boylan
It would be very handy if, while creating a new system, I could replicate the uid and gid's of an old one--by which I mean replicate the mapping of numbers to names. I want to restore the old system, and my backup system (bacula) uses numeric uid/gid only. My backups have all the customized fi