• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved How to login as domain user in SSH?

PeopleInside

Regular Pleskian
Hi,
when I login in SSH I'm logged as root user.

I have one domain added and user should be domain.ext, on domain FTP access I enabled SSH access to /bin/bash

Now If I'm logged as root on SSH and do the command:

su domain.ext to connect as user I have the results:

bash-5.0$

This is not expected.

For example if I'm logged as root I will see:

root@somename:/var/www/vhosts/domain.ext/httpdocs/folder#

when I want login as domain.ext user I expect to give the SSH command:

su domain.ext than pressing enter I expect to see:

domain.ext@somename:/var/www/vhosts/domain.ext/httpdocs/folder#

but I see bash-5.0$

why?

In SSH I need install things with composer but not as root. I'm unable to understand how login as user on SSH how to swith.

Thanks in advance for any help.
 
@Rasp what I have to do to have same information showed in SSH as happen with root?
I'm following the linked guide but still don't know where touch and what do for fix for customers.
Thanks.
 
Back
Top