Solved

Changing password expiration for local user in PE

  • 23 March 2023
  • 1 reply
  • 2064 views

Hello,

I would like to change the password expiration for a local user I have created in the prism element.

I’ve tried to change it via the command:

nutanix@cvm$ sudo chage -M <MAX-DAYS> admin
 

I’ve managed to do that to the admin user, but when I change “admin” with my local user, 

It says that the user does not exist in etc/passwd.

 

Is their any way of changing the password expiration for a local user that it is not “admin”.

(The user is a cluster admin).

icon

Best answer by Wjconrad 23 March 2023, 19:21

View original

This topic has been closed for comments

1 reply

Userlevel 1
Badge +2

Sorry, only the admin and the nutanix users exist in the CVM. We don't recommend expiring the nutanix user password as that’s basically a service account and it’ll potentially break a cluster if it expires. KB 4676 https://portal.nutanix.com/page/documents/kbs/details?targetId=kA00e000000LIYJCA4

All the other “local” users don't exist at the Linux OS level in the CVM or AHV or PC.

We are working on additional password management features that might include expiration dates.