• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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