Tristram Bethea wrote: > Hello, I am trying change my password in opensolaris by using the passwd > command from a terminal session. Upon running the utility, I am asked for my > current password. After entering the password, to which I know to be > correct, I am given a permission denied error message. Why am I am receiving > this message when I am entering the correct password?
Which release of OpenSolaris are you running (output of `uname -a` command please). Are you using local files, nis, nis+ or ldap ? The passwd command should be setuid root check that it still is, ie: ls -l /usr/bin/passwd If you can login as root or have sudo privilege or the 'Primary Administrator' role (which you would have if this is the user account created during initial OpenSolaris install) then you can truss the passwd command from another shell eg: window1$ echo $$ window2$ pfexec truss -f -o /tmp/passwd.truss -p $$ window1$ passwd That truss output should allow us to determine what it was that caused the permission denied. When you run passwd it should give you output like this, does it ? $ passwd passwd: Chaning password for darren Enter existing login password: New Password: Re-enter new Password: passwd: password successfully changed for darren $ -- Darren J Moffat