ONTAP Discussions
ONTAP Discussions
Is there a way to change the SVM unix-user root password using CLI? I tried logging in on the SVM using root but access was limited and passwd not working. Any info or command to use?
Thanks.
Solved! See The Solution
It is not possible to change this password. You can view this list of users from the CLI with
>> vserver services name-service unix-user show
There is no modify or password reset functionality here though, see below link for full command list.
You can however try to delete and recreate the user and that might clear the old password warning from whatever reporting software they are using. This might incur a data access issue so I would advise doing this in a maintenance window, but should be a quick toggle.
Otherwise they will just need to acknowledge it and let it slide, policy permitting.
Instructions vary by ONTAP version - which are you using? But in 9.7 and later, per https://docs.netapp.com/us-en/ontap-sm-classic/online-help-96-97/task_delegating_administration_to_svm_administrators.html
In the Administrator Details section, set up a password for the vsadmin user account.
Hope this helps!
Thanks for the reply, But I am referring to the local Unix user (root) under User and Groups.
You don't log in with those users. You log in using SVM accounts as per this:
https://docs.netapp.com/us-en/ontap-sm-classic/online-help-96-97/task_adding_svm_user_accounts.html
Yes, but our IT security team detected that those users still have an Old password. That's why we need to reset it. Thanks.
How did your IT guy detected password for those users @Kirktrix ? Are you referring to :
https://library.netapp.com/ecmdocs/ECMP1636037/html/GUID-9209C865-7E4A-4557-AE09-C667BC03D63A.html
It is not possible to change this password. You can view this list of users from the CLI with
>> vserver services name-service unix-user show
There is no modify or password reset functionality here though, see below link for full command list.
You can however try to delete and recreate the user and that might clear the old password warning from whatever reporting software they are using. This might incur a data access issue so I would advise doing this in a maintenance window, but should be a quick toggle.
Otherwise they will just need to acknowledge it and let it slide, policy permitting.
There is no password for the internal unix-users. Netapp even discards the value of the password field when you import users from a uniform resource identifier (URI) .
Configure local UNIX users and groups