Recently I was asked to look at a system for a "friend" that left me completely stumped. Their original problem stated to me:
- They have a RHEL 5.10, gnome desktop fairly typical install
- They are having trouble running a Retina scan
- They claim Retina could not ssh in and start the scan
This is what I found, after checking out their firewall, tcp wrappers, sshd config, sudoers, etc.
Any command you run that references a user appears to always reference root instead. Some examples:
- desktop login as user 'scan' & you are actually logged in as root
- ssh login does the same thing.
whoami
andwho am i
both return root - run chown -R scan.scan /home/scan results in all file ownerships to be = root:scan
There are no sticky bits set on programs in /usr/bin or /bin or /sbin other than what one would normally expect to see.
This problem is so odd, I don't even know what search terms to use.
Half-baked ideas welcome.
@Matthew Ife: The user id of scan is 501, but getent passwd scan
returns:
scan:x:0:0::/home/scan:/bin/bash
getent passwd scan