Which of the following CLISH commands would you use to set the admin user’s shell to bash?

Which of the following CLISH commands would you use to set the admin user’s shell to bash?

Which of the following CLISH commands would you use to set the admin user’s shell to bash?

A.
set user admin shell bash

B.
set user admin shell /bin/bash

C.
set user admin shell = /bin/bash

D.
set user admin /bin/bash



Leave a Reply 4

Your email address will not be published. Required fields are marked *


florentjustin

florentjustin

sk69625

In CLISH, set the user shell to “/bin/bash”:

HostName> set user shell /bin/bash

For example, for user ‘admin’, run:
HostName> set user admin shell /bin/bash.

Esteban

Esteban

B. set user admin shell /bin/bash

chris

chris

The problem with this command is after you logoff you will be redirect to expert mode. then how could you return to default shell to issue the command: set user admin shell /etc/cli.sh?

This is the best method. just saying…
chsh -s /bin/bash admin

chsh -s /etc/cli.sh admin #to return to default shell