I logged in the server with my user and I became root using su
emerson@solaris:~ $ su –
Password:
I was trying to reset my password but it was giving the error message “Users cannot set their own password via selang”
root@solaris:/ # /usr/seos/bin/selang -c “cu emerson pwasown(changeme) unix”
CA Access Control selang v12.0.1.1262 – CA Access Control command line interpreter
Copyright (c) 2008 CA. All rights reserved.(localhost)
ERROR: Operation not allowed
ERROR: Users cannot set their own password via selang
(localhost)
Unix :
======
ERROR: Operation not allowed
ERROR: Users cannot set their own password via selang
If you login with the user and try to replace the user’s password it will give this error. You need to login with another user to run the command above.