RHEL 5.11 - gid issue


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users RHEL 5.11 - gid issue
# 1  
Old 08-22-2017
RHEL 5.11 - gid issue

Hello folks,

I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command:

Code:
usermod -g 16601 oracle

But it did not changed. I have tried multiple times. Then I changed the /etc/passwd file itself with group 16601 for user oracle. I have deleted the group 16600 too. Then it took in effect after sometime. I see it changed to correct group 16601.

Now here is the issue:

But again, after sometime somehow the previous GID (16600) is showing up when i run
Code:
id oracle


Also the /etc/passwd file has previous entry restored back.

This is happened 2-3 times. not sure what is exactly happening. I have changed the /etc/nsswitch.conf as well to lookup for "files". The group 16600 also not exists at all. Please assist.
# 2  
Old 08-23-2017
So as a first stab, is this a local account or is LDAP, NIS or something else in play which manages account credentials?


Kind regards,
Robin
# 3  
Old 08-23-2017
I see centrify DC is running there...

---------- Post updated at 09:45 AM ---------- Previous update was at 09:32 AM ----------

I got it fixed. Centrify was doing all this. When I disabled it, the changes worked, but when i enabled it back, it reverted the changes.


Thanks all...
# 4  
Old 08-24-2017
Hi snchaudhari2,

You can change your oracle group id 16600 to 16601 using below command :-

Code:
groupmod -g 16601 oracle

This command will help you out to change group id specifically and you can check it using below command :-

Code:
grep "oracle" /etc/group

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

AIX to RHEL migration - awk treating 0e[0-9]+ as 0 instead of string issue

Greetings Experts, We are migrating from AIX to RHEL Linux. I have created a script to verify and report the NULLs and SPACEs in the key columns and duplicates on key combination of "|" delimited set of big files. Following is the code that was successfully running in AIX. awk -F "|" 'BEGIN {... (5 Replies)
Discussion started by: chill3chee
5 Replies

2. Red Hat

RHEL Memory issue

Friends, I have 8CPU/24gb RAM in my Linux servers around 30+. All the servers are running with Java based application with NFS mounted. The problem what I have is, When I reboot servers the server memory looks decent. But after some time the "cached" memory increasing and "free" memory... (5 Replies)
Discussion started by: baluchen
5 Replies

3. Red Hat

RHEL 6, Spacewalk 2.3 unable to download RHEL 5 repo data

Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies

4. Linux

Installation issue RHEL 6.5 on SAN

HI All I am facing issue in installation of Red Hat 6.5 on SAN.. i am having a partion of 2 TB in my SAN and i am installing the operating system after completed the installation it not booting and giving the error. (2 Replies)
Discussion started by: deviltech
2 Replies

5. Red Hat

Logrotate issue in RHEL

Hi, I have a requirement to compress logs that generate daily. Below is the logrotate configuration for this But for some kind of reason the logs are not getting compressed daily. When tried to execute the logrotate manually with -d it says "log does not need rotating." The path... (0 Replies)
Discussion started by: EmbedUX
0 Replies

6. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

7. Red Hat

iSCSI issue on RHEL 5

Hello Friends, I am facing issue with the iSCSI configuration on some of our RHEL 5 servers, When I restart the iSCSI service, it triggers the RHEL server reboot. Could you please help me with this issue. Below are the system details : uname -a : Linux za-rac-prd-01.abc.local... (2 Replies)
Discussion started by: Jeevanm
2 Replies

8. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

9. Red Hat

Time Sync issue on RHEL 5.3

Hi, My Linux VMs are running on citrix XEN.Somehow the time drift is too high (going very fast). Even if the correct time configured using date -s command, for every 1 hr it is differing almost 5 - 10 mins. Tried configuring ntpd (local NTP server) and still it is not synchronized. Machine... (2 Replies)
Discussion started by: uday123
2 Replies

10. Red Hat

RHEL Installation issue.

Hi Gurus I am trying to install RHEL linux enterprise Edition v5 on a Dell Optiplex 320 desktop. After the Grub menu,i get the error,Kernel could not be loaded. I am a newbie in linux and would appreciate any help in moving forward. Thanks HG (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies
Login or Register to Ask a Question