• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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