Link to home
Start Free TrialLog in
Avatar of EmadGirgis
EmadGirgis

asked on

Redhat System admin Wiered user created

I created a user names apmadmin. The group name is apm admin and it is working on 10 other servers
Here is the /etc/passwd record
[collector8]root [ ~ ]# grep st2 /etc/passwd
[collector8]root [ ~ ]# grep apmadmin /etc/passwd
apmadmin:x:3520:2001::/home/apmadmin:/bin/bash


Now here is the group record
[collector8]root [ ~ ]# grep apmadmin /etc/group
apmadmin:x:2001:
[collector8]root [ ~ ]#


Each time I login to the apmadmin user .. You can see the prompt saying st2vodi.. I don't know this user and it does not exist in etc/passwd
[collector8]st2vodi [ /data ]$ cd /opt/CA/APM/
[collector8]st2vodi [ /opt/CA/APM ]$ ls -lai


files seem to be owned by this st2vodi...
[collector8]st2vodi [ /data ]$ ls -lai
total 5716
532494 drwx------   3 st2vodi apmadmin    4096 Jul 29 11:46 .
     2 dr-xr-xr-x. 25 root    root        4096 Jul 29 11:40 ..
532538 -rw-------   1 st2vodi apmadmin  306492 May 28 01:00 1432785615000.data
532539 -rw-------   1 st2vodi apmadmin  306924 May 28 02:00 1432789215000.data
532540 -rw-------   1 st2vodi apmadmin  304392 May 28 03:00 1432792815000.data
532541 -rw-------   1 st2vodi apmadmin  304908 May 28 04:00 1432796415000.data


I don't know how to solve this puzzle.  What is this st2vodi and why it replaces apmadmin the intended user.... Can you please help rectify the situation?
SOLUTION
Avatar of Steven Vona
Steven Vona
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of EmadGirgis
EmadGirgis

ASKER

Sorry late responding
[collector8]st2vodi [ ~ ]$ grep odi /etc/passwd
[collector8]st2vodi [ ~ ]$


It returns nothing.
Another point... the setup was done a long ago.. I was today working on it and observed this issue. I looked in the whole passwd file and I can see no resemblance to this user
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have not got an actual solution for what the issue it. However, the issue is resolved by removing the user and re adding it ...