0

Trying a VPS (hosting). I have installed Ubuntu 16.04 and created a user admin. Now I'm trying: ssh admin@185.149.129.42 The prompt becomes just a $.

I try:

sudo su root

The prompt has become

root@simple_project:/home/admin#

This line is in white letters.

I try:

su admin

The prompt is in green letters:

admin@simple_project:~$ 

Well, in other words three cases:

  1. white $;
  2. white root;
  3. green admin.

I was somehow confused by case 1 for example. And I did:

su root

su admin

And I get my green letters up to the colon:

admin@simple_project:~$

This looks more familiar than just a bear $.

Could you tell me what these three cases mean? If they really mean anything.

Michael
  • 583

0 Answers0