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
4 Comments on “Which of the following CLISH commands would you use to set the admin user’s shell to bash?”
Timsays:
B
0
0
florentjustinsays:
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.
0
0
Estebansays:
B. set user admin shell /bin/bash
0
0
chrissays:
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
B
0
0
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.
0
0
B. set user admin shell /bin/bash
0
0
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
0
0