Hi Guys,
I have a setup where i have a user named root4 whose uid and gid are set
to 0 so that it behaves as root user. The root user has ssh keys
configured to access other servers . In the existing setup all other
servers with similar setup shows whoami as root ,though i login with the
username root4. In one of the servers all of a sudden it shows as root4
instead of root.
The only change i did a day ago was installed fluxbox and k3b for
burning dvd-backups in the server itself. Since it shows whoami as
root4. ssh checks /home/root4/.ssh for ssh keys instead of checking in
/root/.ssh/
so i have to copy all the keys manually from default location to
/home/root4/.ssh to get the ssh key based authentication working .
This machine runs centos 4.5
Id still shows uid =0 (root4) gid=0(root) groups=0(root) but its
supposed to show uid =0 (root) gid=0(root) groups=0(root)
Earlier all files in /home/root4 are owned by user and group root.root
now it shows root4. root.
i checked the passwd file last modification date and it hasnt been
changed for months.
root4:x:0:0::/home/root4/:/bin/bash
selinux is disabled
$HOME=/home/root4 -- which is normal.
I dont know why it behaves all of a sudden. does anyone have experienced
similar problem ?
Where should i look for to fix this issue ? Any help would be much
appreciated.
--
Regards,
Mohan.