Sample Header Ad - 728x90

SSHing to a CentOS server switches to a different user

0 votes
1 answer
75 views
I've started managing a CentOS 7 server for a new client that is managed via Plesk. I'm not familiar with either Centos or Plesk. If I SSH to the server like:
workspaceuser@1.2.3.4
, immediately upon connecting I see that I'm a different user. Ie
shows a completely different user. Are there any places I can look either via Plesk or on the server to figure how/why it's changing user? Thanks! EDIT: Contents of /etc/passwd :
differentuser:x:10000:1003::/var/www/vhosts/example.com:/bin/false
workspaceuser:x:10000:1003::/var/www/vhosts/example.com:/bin/bash
acme-john:x:10000:1003::/var/www/vhosts/example.com/httpdocs:/bin/false
acme_admin:x:10000:1003::/var/www/vhosts/example.com/home.example.com:/bin/false
Asked by Sherri (101 rep)
Feb 14, 2024, 05:06 PM
Last activity: Feb 15, 2024, 02:26 PM