DNAC Bash shell access

Change from maglev til bash shell

Procedure


Step 1

Enter the following CLI command to determine your shell type:

$ magctl ssh shell display
The command returns one of the following outputs, depending on your shell:

$ magctl ssh shell display
Active shell for current user: bash 

$ magctl ssh shell display
Active shell for current user: magshell

The _shell commands work only when you are in magshell.

Step 2

If the preceding command output confirms that you are in magshell, and you then want to disable restricted shell, enter the following CLI command and password:

$ _shell -c 'sudo magctl ssh shell bash'
Password:
Warning! Activity within this shell can jeopardize the functioning of the system!
[sudo] password for maglev:
Successfully enabled bash for user, will be effective from next login.
Step 3

For the change to take effect, exit from the CLI session and then log back in to the CLI session.

Step 4

(Optional) To re-enable restricted shell, enter the following CLI command and password:

$ sudo magctl ssh shell magshell
[sudo] password for maglev:
Successfully enabled magshell for user, will be effective from next login.
Step 5

For the change to take effect, exit from the CLI session and then log back in to the CLI session.

138 thoughts on “DNAC Bash shell access

  1. Pingback: english essay help
  2. Pingback: med pharmacy
  3. Pingback: price viagra uk
  4. Pingback: effects of cialis
  5. Pingback: tadalafil e20 pill
  6. Pingback: canadian cialis
  7. Pingback: lady viagra
  8. Pingback: 20mg cialis
  9. Pingback: 5mg tadalafil
  10. Pingback: efek lasix
  11. Pingback: flagyl spanish
  12. Pingback: vet gabapentin
  13. Pingback: xanax and cymbalta
  14. Pingback: liquid amoxicillin
  15. Pingback: bactrim vs septra
  16. Contra vim mortis non est medicamen in hortis — Против силы смерти в садах нет лекарств.

  17. Pingback: ezetimibe fass
  18. Pingback: depakote overdose
  19. Pingback: augmentin for std
  20. Pingback: bupropion dosing
  21. Aut prodesse volunt aut delactare poetae — Поэты желают быть или полезными, или приятными.

  22. Pingback: actos chf
  23. Pingback: remeron vs lexapro
  24. Pingback: acarbose merck

Skriv et svar