PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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?

  1. florentjustin says:

    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
  2. chris says:

    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

Leave a Reply