I remotely SSH login as root (using PUTTY),
The bash shell prompt becomes:
[root@yukiko /]#
When I entered:
getent passwd
The first line I see is this one:
root:x:0:0:root:/root:/bin/bash
Shouldn't the bash shell prompt look like this? (which corresponds to the first line in /etc/passwd) ?
[root /]#
This is a VPS server with CentOS installed, yukiko is the desired customer login id I provided to the hosting company.
If you type:
at the Bash prompt, you'll see:
That says to display the username, an at sign, the hostname and the current working directory all inside square brackets.
Evidently, they've given your server the same hostname as your customer login ID.