Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Valeri Galtsev
On 10/22/20 3:21 PM, Louis Lagendijk wrote: On Thu, 2020-10-22 at 15:13 +0200, Thomas Plant wrote: Am 22.10.2020 um 14:11 schrieb Thomas Plant: Hi, we are upgrading some servers from C6 to C7 with a lot of user accounts on them (UID>=500). CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Louis Lagendijk
On Thu, 2020-10-22 at 15:13 +0200, Thomas Plant wrote: > Am 22.10.2020 um 14:11 schrieb Thomas Plant: > > Hi, > > > > we are upgrading some servers from C6 to C7 with a lot of user > > accounts on them (UID>=500). > > CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500 in login.defs. > > > > Can

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Kenneth Porter
On 10/22/2020 6:06 AM, Simon Matter wrote: In the end I decided to rearrange all users to new UIDs/GIDs and converted all storage with a script. I'm rsyncing to an RH8 box for backup (it will eventually become the production box), and rsync maintains usernames even when the numeric IDs are di

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Thomas Plant
Am 22.10.2020 um 14:11 schrieb Thomas Plant: Hi, we are upgrading some servers from C6 to C7 with a lot of user accounts on them (UID>=500). CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500 in login.defs. Can I change in /etc/login.defs MIN_UID/MIN_GID to 500 for C7? So I could just grep

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Simon Matter
>> Hi, >> >> we are upgrading some servers from C6 to C7 with a lot of user accounts >> on them (UID>=500). >> CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500 in login.defs. >> >> Can I change in /etc/login.defs MIN_UID/MIN_GID to 500 for C7? So I >> could just grep the users out from passwd/sh

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Simon Matter
> Hi, > > we are upgrading some servers from C6 to C7 with a lot of user accounts > on them (UID>=500). > CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500 in login.defs. > > Can I change in /etc/login.defs MIN_UID/MIN_GID to 500 for C7? So I > could just grep the users out from passwd/shadow/gro

Re: [CentOS] UID/GID CentOS 6 to CentOS 7

2020-10-22 Thread Gianluca Cecchi
On Thu, Oct 22, 2020 at 2:12 PM Thomas Plant wrote: > Hi, > > we are upgrading some servers from C6 to C7 with a lot of user accounts > on them (UID>=500). > CentOS 7 has MIN_UID/MIN_GID 1000, Centos 6 has 500 in login.defs. > > Can I change in /etc/login.defs MIN_UID/MIN_GID to 500 for C7? So I