Backtrack:  
 
by lunarg on March 25th 2019, at 12:15

You can change the default shell (used when logging on with VMRC or through SSH). By default, this is set to the appliance shell, providing limited functionality. If you rather have BASH as the default shell, you can switch this.

Log on through SSH or VMRC with the root account.

If shell access hasn't been activated yet, run this first:

shell.set --enabled true

If you are running the appliance shell, type shell to launch the BASH shell.

In the BASH shell, at the prompt, type the following to change the default shell to BASH (instead of the appliance shell):

chsh -s /bin/bash root

You'll need to log out for the changes to take effect. The next time you log in, you will log on directly to the BASH shell instead of the appliance shell.

Note that if you need one-time access to the appliance shell from BASH, you can launch the appliance shell by simply typing appliancesh. You will be prompted for the root password, after which the appliance shell will be active. Exiting the appliance shell will bring you back to the BASH shell.

If you have BASH set as the default shell and wish to switch back to the appliance shell as the default, log on using SSH or VMRC. From the BASH shell, type the following:

chsh -s /bin/appliancesh root

You'll need to log out for the changes to take effect. The next time you log in, you will log on with the appliance shell instead of the BASH shell.

 
 
« December 2019»
SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293031    
 
Links
 
Quote
« If the batteries of a TV remote run out, why do we press the buttons so much harder? »