You are on page 1of 8

Shells

Appendix B Data ONTAP 8.0 7-Mode Administration

Module Objectives
By the end of this module, you should be able to: Distinguish between administration and system shells Enable the diag user Login to the system shell

2009 NetApp. All rights reserved.

Shells
Data ONTAP 8.0 7-mode has two shells:
Administration shell
Normal operations with privileged levels
Use priv set to configure

System shell
Used for low-level diagnostic purposes Customers instructed to only ask the system shell under guidance of technical support

2009 NetApp. All rights reserved.

System Shell Access


Only the diagnostic user may access the system shell
Diagnostic account is predefined but disabled by default

To perform lower diagnostics, you must:


1. Enable the diagnostic account 2. Access the system shell

2009 NetApp. All rights reserved.

1. Enable Diagnostic Account


To enable the diagnostic account: Change to the advanced privileged level
system> priv set advanced

Unlock the diagnostic account:


system*> useradmin diaguser unlock

Set the diagnostic account (required):


system*> useradmin diaguser password Please enter a new password: Please enter it again:

Verify the diagnostic account:


system*> useradmin diaguser show Name: diag Info Account for access to systemshell Locked: no
2009 NetApp. All rights reserved.

2. Access the System Shell


To access the system shell: Change to the advanced privileged level:
system> priv set advanced

To enter the system shell:


system*> systemshell Data ONTAP/i386 (nodename) (ttyp0) login: diag Password: system%

To exit the system shell:


system% exit logout system*>

2009 NetApp. All rights reserved.

Operations at System Shell


The following operation may be performed at the system shell:
whoami ps top uname -a

Other commands that Technical Support requests

7-Mode administrators normally do not need to access the FreeBSD system shell
Use with the direction of Technical Support only
2009 NetApp. All rights reserved.

Module Summary
In this module, you should have learned to: Distinguish between administration and system shells Enable the diag user Login to the system shell

2009 NetApp. All rights reserved.

You might also like