| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| dinoklein |
Posted: Jul 27 2003, 04:54 PM
|
|
Newbie ![]() Group: Members Posts: 2 Member No.: 60 Joined: 27-July 03 |
Hi everyone,
I'm not sure if this is the right forum, but this is as close as I could tell. I'm having the following issue on Solaris9: I have Soalris9 4/03 with PatchPro 2.1 installed. I would like to use md5 crypted passwords for the root account as well, but when I change the password from the standard unix crypt, PatchPro can no longer authenticate the root password. I'm inclined to think that they hardcoded the use of unix crypt when checking the password, but I couldn't find anything on the net regarding this issue, or anyone else complaining about it. My workaround for the moment is to use the old crypted root password, while other accounts' passwords get MD5-ed. Any feedback is appreciated; thanks. |
| fishsponge |
Posted: Jul 27 2003, 05:28 PM
|
||||||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
i had a similar problem...... (well, a different problem that could be caused by the same thing)......
i assume you originally changed the password format by editing "/etc/security/policy.conf" and "/etc/security/crypt.conf":
well if you take a look at a line from your "/etc/passwd" file (or "/etc/shadow" file) then it will probably look like this:
Note the "$1$" at the start of the password... this denotes which encryption method was used to encrypt that particular password. Take a look at the root password... does it differ from the rest? do they all have "$md5$" in front of them, except the root password? Chances are that the root password doesn't have any dollar symbols at the start at all - as far as i know, this denotes that the standard UNIX encryption method was used. One way to maybe get around this would be to create a user, make his password using MD5, and then copy it into the root passwd file. This is definitely not advisable though. The other issue could be that it's a security feature - can you "su - root" using the MD5-encrypted password? maybe the root account has to use __unix__ encryption... Just for the record, my Solaris 9 12/02 machine uses MD5 for all users, except root. Anyway, i know this is a bit of a random ramble, but hopefully some of it'll help! let us know!! :D |
||||||
| dinoklein |
Posted: Jul 27 2003, 08:11 PM
|
||
|
Newbie ![]() Group: Members Posts: 2 Member No.: 60 Joined: 27-July 03 |
I have no problem logging in to the root account either when I use standard md5 or unix crypt. I do clear the password (passwd -d) before I change it with a different algorithm, so the new one will take effect (otherwise it just keeps the current format). I'm going to try a more programmatic approach to this - there is a library /usr/sadm/lib/smc/lib/passauthen.so, which I'm pretty sure that is the one being used by the server to authenticate the user. Perhaps I'll be able to figure out some more, although it will be a pain to start reading PAM documentation and the like. I have a diff qusestion - as a newbiew admin :unsure: I don't know how does one report bugs to Sun. I've reported this issue several months ago as a patchpro issue (they give an email, on the dld page), but nothing came out of that. Any links would be appreciated. |
||
| fishsponge |
Posted: Jul 28 2003, 09:15 AM
|
||
|
Administrator ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 679 Member No.: 1 Joined: 13-February 03 |
hmm.... i don't know the official procedure, but as i currently work for them, gimme the details and i'll log it internally if u like. i'm not sure how i would keep you updated on it's progress though, as i don't think we're allowed to add external email addresses to the interest list... i'll see what i can do though. if you would like me to log the bug for ya, start a new topic under the appropriate category... lets keep it separate from this topic :D |
||
![]() |
![]() ![]() ![]() |