Alter user Vertica
Users can only be altered by the admin user. The changes applied on the user will only apply in the future sessions not in the current session.
Changes that can be made by regular users:ALTER USER name
... [ ACCOUNT { LOCK | UNLOCK } ]
... [ DEFAULT ROLE {role [, ...] | NONE} ]
... [ IDENTIFIED BY 'password' [ REPLACE 'old-password' ] ]
... [ MEMORYCAP { 'memory-limit' | NONE } ]
... [ PASSWORD EXPIRE ]
... [ PROFILE { profile-name | DEFAULT } ]
... [ RESOURCE POOL pool-name ]
... [ RUNTIMECAP { 'time-limit' | NONE } ]
... [ TEMPSPACECAP { 'space-limit' | NONE } ]
ALTER USER "Username" ACCOUNT LOCK/UNLOCK;
ALTER USER "Username" IDENTIFIED BY 'password';
ALTER USER "Username" DEFAULT ROLE "Manager/role name";
This are some of the examples on how we can alter an user account.