Displaying 20 results from an estimated 5000 matches similar to: "UID/GID CentOS 6 to CentOS 7"
2020 Oct 22
0
UID/GID CentOS 6 to CentOS 7
> 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/group files and append
> them to the Centos7 passwd/shadow/group files.
2020 Oct 22
0
UID/GID CentOS 6 to CentOS 7
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 the users out from passwd/shadow/group files and
> append
2020 Oct 22
1
UID/GID CentOS 6 to CentOS 7
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 I change in /etc/login.defs MIN_UID/MIN_GID to 500
2012 Jun 07
4
Dealing with multiple gid changes
So I discovered yesterday that if puppet changes the gid of a group it
doesn''t go through the file system and update them with the new correct gid
(at least this was the case on RHEL5 and client puppet v2.6.16 and
puppetmaster 2.7.12). Now I thought that it might be possible to have
puppet execute something like find /home/ -group <old_gid> | xargs chgrp
groupname. However
2005 Jan 26
1
Question about a recent change to uidswap.c in the portability snapshot
A change was recently introduced into uidswap.c to cover the case where
the user is root. The change is "&& pw->pw_uid != 0 &&".
/* Try restoration of GID if changed (test clearing of saved
gid) */
if (old_gid != pw->pw_gid && pw->pw_uid != 0 &&
(setgid(old_gid) != -1 || setegid(old_gid) != -1))
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
Hi Rich,
This patch attends to remove the user accounts in the guest,
I send this out to request your comments, if the concept
is correct and you can point out some syntax error for me.
Thanks a lot,
Wanlong Gao
Remove user accounts except the root user.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
sysprep/Makefile.am | 2 +
2004 Sep 22
1
[PATCH] permanently_set_uid: Don't try restoring gid on Cygwin
Hi,
the below patch solves the same problem for gids as has already been
solved for uids. Windows has no concept of permanently changing the
identity. It's always possible to revert to the original identity.
Thanks,
Corinna
Index: uidswap.c
===================================================================
RCS file: /cvs/openssh_cvs/uidswap.c,v
retrieving revision 1.44
diff -p -u -r1.44
2016 Oct 10
4
upgrade reference docs
Is there a Centos 6.x to Centos 7.x guide somewhere? What has changed, that I
need to learn about as an admin, before I jump in and flounder?
thanks,
-chuck
--
ACCEL Services, Inc.| Specialists in Gravity, Magnetics | (713)993-0671 ph.
| and Integrated Interpretation | (713)993-0608 fax
448 W. 19th St. #325| Since 1992 | (713)306-5794 cell
2006 Apr 11
1
[Bug 1182] uid 0, gid !=0 fools defensive check in uidswap.c
http://bugzilla.mindrot.org/show_bug.cgi?id=1182
Summary: uid 0, gid !=0 fools defensive check in uidswap.c
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P4
Component: ssh
AssignedTo: bitbucket at mindrot.org
ReportedBy:
2003 Sep 16
2
[PATCH] permanently_set_uid fails on Cygwin :-(
Hi,
I'm terribly sorry that I missed this before 3.7p1 was out. The
permanently_set_uid() function fails on Cygwin since the test to
revert to the saved uid unfortunately works on Cygwin though it
shouldn't. The reason is that a Windows NT process always can
revert to its previous privileges. There's no such concept of
giving up rights in a process permanently. This is only
2004 Aug 27
2
OpenSSH-3.9p1 permanently_set_uid behavior on Linux
Aloha,
I'm curious about the following code at line 203 in uidswap.c:
/* Try restoration of GID if changed (test clearing of saved gid) */
if (old_gid != pw->pw_gid &&
(setgid(old_gid) != -1 || setegid(old_gid) != -1))
fatal("%s: was able to restore old [e]gid", __func__);
This causes permanently_set_uid to fail in the following case:
$ su
Password: ????????
#
2017 Jun 01
2
Upgrade 6 to 7
I found this site https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool
Is this still the case - there is no upgrade path from 6 to 7 ?
I have a few remote servers I'd like to upgrade (if possible).
Thanks,
Jerry
2017 Apr 29
7
SCSI drives and Centos 7
Everyone,
about 4 years ago, I tried to install CentOS 6 on a Supermicro server
with SCSI drives using a LSI raid system. I could never figure out or
find a way to make the installation disc of Centos 6 identify the SCSI
drives. The installation disc for Centos 5 identified the SCSI drives
without a problem. I finally gave up on Centos 6 and installed Centos 5
and the system has worked very
2017 Jun 03
1
Upgrade 6 to 7
On 2 Jun 2017 09:45, "Gianluca Cecchi" <gianluca.cecchi at gmail.com> wrote:
Il 01 Giu 2017 10:13 PM, "Jerry Geis" <jerry.geis at gmail.com> ha scritto:
I found this site https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool
Is this still the case - there is no upgrade path from 6 to 7 ?
I have a few remote servers I'd like to upgrade (if possible).
2001 Apr 04
2
[follow-up/fix] openssh 2.5.2p2 not allowing RSA authentication
the stat() on which file?
On Wed, Apr 04, 2001 at 02:06:56PM +0200, Jan Just Keijser wrote:
> hmmm, I found the problem and managed to fix it, but I am not sure if this
> isn't broken:
>
> using gdb, I found that sshd fails to stat the 'authorized_keys' files,
> which was in /local/home/janjust/.ssh/authorized_keys. Here were the
> permissions for the directories
2012 May 12
3
openLDAP under CentOS-6
I've been hard hit by the lack of CentOS-6 documentation
mentioned in another thread.
The openLDAP setup has been changed completely between CentOS 5 and 6,
and I haven't been able to find any reasonably coherent instructions
explaining how to upgrade.
If anyone knows of such a document I should be most grateful to learn of it.
Actually I have openLDAP working (though unencrypted) with my
2019 Aug 29
1
Ran across this process to upgrade from C6 to C7, will it work???
> On Thu, Aug 29, 2019 at 12:15 PM Jay Hart <jhart at kevla.org> wrote:
>
>> I figure it won't. Hope the experts can clarify.
>>
>> I'm still using C6 and want to C7 and really to C8.
>>
>> https://www.psychz.net/client/kb/en/upgrade-centos-6-to-centos-7.html
>>
>>
>
> Hi,
>
> In-place upgrades are an option for some Red Hat
2004 Aug 29
0
uidswap.c breaks ssh when originating user is root
EHLO,
Somehow I don't think it makes any sense to test whether the
gid/egid can be changed, if the original uid happened to be
root. Root can always change the gid/egid anyhow.
So, I would like to propose the following change to 3.9p1...
--- uidswap.c.orig Sun Aug 29 15:43:57 2004
+++ uidswap.c Sun Aug 29 15:44:05 2004
@@ -201,7 +201,7 @@
#endif
/* Try restoration of GID if
2007 Apr 15
0
pdbedit and root SID/RID
Hi
I've been reading every documentation available for creating smb domain
groups and users, mapping domain groups and users... still learning...
Every document I read states that root should be modified to RID 500, by
running ' pdbedit -U `net getlocalsid | cut -d ":" -f2 | tr -d ' '`-500
-u root -r', but I always get root to RID 1000 and its domain group RID
2016 May 27
2
first_valid_uid
Hi,
[Aki Tuomi] - [27.05.2016 22:33]
>> I have error log entries like
>>
>> dovecot: lmtp(22155, mail): Error: user mail: Mail access for users with
>> UID 8 not permitted (see first_valid_uid in config file, uid from userdb
>> lookup).
>>
>> This obviously tells me that the user mail (UID 8) is trying to access
>> the LMTP daemon. How can I find