These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Different Bash prompts after switching user on the new forum.
I have two servers: server1 and server2
Both have: Virtualmin...Administrative Options...Edit Owner Limits...Server Owner Limits
Allowed login type: Email, Ftp, SSH
Chroot jail domain Unix user: yes
When I "su server1" I get a bash prompt
When I "su server2" I get and error message and different prompt.
[root@host ~]# su server1
bash-4.2$
[root@host ~]# su server2
bash: /usr/bin/id: No such file or directory
bash: /usr/bin/id: No such file or directory
[server2@host ~]$
Why do I get the two different prompts?