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.
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.