Skip to main content
NetApp Knowledge Base

Is it possible to use an alternative account instead of the BUILTIN 'admin' account

Views:
387
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

ONTAP 9

Answer

Yes, it is possible. Create and use a separate account with the same as 'admin' as below.
  1. Check the 'admin' information.
Cluster::> security login show
Vserver: SVM1
                                                                 Second
User/Group                 Authentication                 Acct   Authentication
Name           Application Method        Role Name        Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
admin         console     password      admin            no     none
admin          http        password      admin            no     none
admin         ontapi      password      admin            no     none
admin         service-processor
                           password      admin            no     none
admin         ssh         password      admin            no     none
  1. Create an account 'admin2' with the same privileges as 'admin'.

Cluster::> security login create -user-or-group-name admin2 -application console -authentication-method password -role admin

Please enter a password for user 'admin2': 
Please enter it again:

Cluster::> security login create -user-or-group-name admin2 -application ssh -authentication-method password -role admin
Cluster::> security login create -user-or-group-name admin2 -application ontapi -authentication-method password -role admin
Cluster::> security login create -user-or-group-name admin2 -application  http -authentication-method password -role admin
Cluster::> security login create -user-or-group-name admin2 -application service-processor  -authentication-method password -role admin

  1. Check if it has been created correctly.

Cluster::> security login show
Vserver: SVM1
                                                                 Second
User/Group                 Authentication                 Acct   Authentication
Name           Application Method        Role Name        Locked Method
-------------- ----------- ------------- ---------------- ------ --------------
admin         console     password      admin            no     none
admin          http        password      admin            no     none
admin         ontapi      password      admin            no     none
admin         service-processor
                           password      admin            no     none
admin         ssh         password      admin            no     none
admin2         console     password      admin            no     none
admin2          http        password      admin            no     none
admin2         ontapi      password      admin            no     none
admin2         service-processor
                           password      admin            no     none
admin2         ssh         password      admin            no     none

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.