• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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