Question Locked

Solaris: can't change password

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi,

When I try to change a password (from root or any user), I get the following result:

# passwd 12345
New Password:
Re-enter new Password:
Permission denied
#

i used command *#passwd -f root* to Forcefully change the root passwd. now when i try to logon the system wiht root it will prompt me to change the passwd. and when i give the passwd it shows again permission denied message..

because of this now i can't log on to the system with root user.

i have also a simple user *test* on same system.

plese help me in this regard and reply me shortly..

thnx in advance..

regards,

asif

10 replies

by tig2

We do NOT EVER post password hacks. We aren't going to change our collective minds about that.

Please contact your system administrator.

by tig2

That is the first time I have seen someone open a new post with the same question.

Makes you wonder!

Merry Christmas! Or the holiday of your choice.

by mikerjohnson

You guys are something else. I AM a sysadmin that is encountering the same problem (except I know the current password). A google search leads me here and this is your advice? Seriously, even if you did have a root password hack, the guy would either need root permissions to do it ( e.g.: could still log in via ssh passwordless auth) or physical access to the box in which case its trivial to change, but then you incur downtime.

No wonder I rarely check techrepublic for anything other than windows desktop tips. Useless and clueless. Notice that he says after forcing a change, he can authenticate as root, but then makes him change his pw before continuing? Since it won't allow changing the pw without forcing, interactive password authentication login is not possible. If he didn't know the correct password, it wouldn't even ask him to change his password, it would say access denied.

Pay attention.

To the original poster: You didn't say what OS and version you are running or if you are using a naming service. I see you posted on other websites and got far more helpful advice (none of which were hacks) and have probably solved the problem by now. Try googling with more specifics such as the os version, etc. Try passwd -r files, try looking in the man page for passwd. Check your nsswitch.conf file, check your pam config. Check the manpage for pwconv, this might help. Run man -k passwd to see other possiblities. Good luck.

by bizzo

Firstly, congratulations on being a sysadmin. I wonder why you don't come here more often to help people. I know, maybe it's because you're a very arrogant individual.

"Pay attention"???

Pay attention to what? Your advice of using google or to RTFM.

You're sure to get thumbs up for that one. Thumbs up where, I don't know, but you may already have one up there.

By the way, I'm really looking forward to your next "yearly" post.

Say Hi to Steve
:D

by jdclyde

Right in the title. Your ego get in the way of you reading?

Solaris, and if you look at his other post to "recover lost passwd" https://www.techrepublic.com.com/5208-6230-0.html?forumID=101&threadID=248665
posted on the same day, you would see specifically Solaris 8.

Of course, you're a real rocket scientist, replying to a user that posted OVER A YEAR AGO and hasn't come back since? Yeah, what an asset you must be, to someone....

by cmiller5400

We don't help with password cracking etc here. That includes problems with passwords not working. If you were familiar with the community here, you would know this.

Go snivel somewhere else. We don't need your negative comments here.

This discussion is closed to new replies.