Professional Web Applications Themes

Password mystery - Sun Solaris

I have a Sun E-450 running Solaris 8. I admit, I just patched it up and now when I add a user and type in an initial password for the user, it comes back and tells me: passwd: Sorry, wrong password Permission denied I am running as root user. Upon further investigation, I found by looking in the '/etc/shadow' file that the last two users that I have created that I've had this problem with, well, their accounts are locked. As root, I cannot change their password or anything. The account is plain locked. I cannot do a 'passwd -d ...

  1. #1

    Default Password mystery

    I have a Sun E-450 running Solaris 8. I admit, I just patched it up and now
    when I add a user and type in an initial password for the user, it comes
    back and tells me:

    passwd: Sorry, wrong password

    Permission denied

    I am running as root user. Upon further investigation, I found by looking
    in the '/etc/shadow' file that the last two users that I have created that
    I've had this problem with, well, their accounts are locked.

    As root, I cannot change their password or anything. The account is plain
    locked. I cannot do a 'passwd -d <username>' to unlock it. This gives me
    the same error as above. I'm stumped here and would certainly appreciate
    any help on this.

    Thanks in advance.

    - Donnie

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Donnie Payne

    System Administrator

    Purdue University, Genomics Center

    WSLR Bld. 207

    West Lafayette, IN 47907



    email: [email]dapaynepurdue.edu[/email]

    Phone: 765-496-2134

    Fax: 765-496-7255

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




    Donnie Guest

  2. #2

    Default Re: Password mystery

    "Donnie" <dapaynepurdue.edu> writes:
    >passwd: Sorry, wrong password
    >Permission denied
    pam.conf messed up?

    -Mike
    Mike Marshall Guest

  3. #3

    Default Re: Password mystery

    Thanks Mike,

    pam.conf was messed up as you said.

    Much appreciated,

    - Donnie


    "Mike Marshall" <hubcaphubcap.clemson.edu> wrote in message
    news:bf72cf$6aa$1hubcap.clemson.edu...
    > "Donnie" <dapaynepurdue.edu> writes:
    > >passwd: Sorry, wrong password
    >
    > >Permission denied
    >
    > pam.conf messed up?
    >
    > -Mike

    Donnie Guest

  4. #4

    Default Re: Password mystery

    I *thought* that his was fixed after I fixed my '/etc/pam.conf' file because
    I was able to clear out the user's passwd with the 'passwd -d' command.

    However, when I try to change the password, it allows me to enter the
    passwords for the user but then it tells me permission denied.

    Also, I just tried to add a new user and I have my script set to prompt for
    the user's new password (this always worked before) which they or I enter.
    It is giving me the same error "passwd: Sorry, wrong password" error again.

    Any other suggestions? I certainly appreciate your help.

    - Donnie



    "Donnie" <dapaynepurdue.edu> wrote in message
    news:bf7126$o16$1mozo.cc.purdue.edu...
    > I have a Sun E-450 running Solaris 8. I admit, I just patched it up and
    now
    > when I add a user and type in an initial password for the user, it comes
    > back and tells me:
    >
    > passwd: Sorry, wrong password
    >
    > Permission denied
    >
    > I am running as root user. Upon further investigation, I found by looking
    > in the '/etc/shadow' file that the last two users that I have created that
    > I've had this problem with, well, their accounts are locked.
    >
    > As root, I cannot change their password or anything. The account is plain
    > locked. I cannot do a 'passwd -d <username>' to unlock it. This gives me
    > the same error as above. I'm stumped here and would certainly appreciate
    > any help on this.
    >
    > Thanks in advance.
    >
    > - Donnie
    >
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >
    > Donnie Payne
    >
    > System Administrator
    >
    > Purdue University, Genomics Center
    >
    > WSLR Bld. 207
    >
    > West Lafayette, IN 47907
    >
    >
    >
    > email: [email]dapaynepurdue.edu[/email]
    >
    > Phone: 765-496-2134
    >
    > Fax: 765-496-7255
    >
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >
    >
    >
    >

    Donnie Guest

  5. #5

    Default Re: Password mystery

    Okay, I'm replying to myself again but I just wanted you all to know that I
    finnaly did figure this thing out so no one would be taking the time and
    effort to respond.

    In the pam.conf file Under "Password Management" in the pam.conf file, I
    took out some stuff that wasn't in the "old" pam.conf file that a patch
    evidently did. I have:
    other password required /usr/lib/security/pam/pam_unix.so.1

    dtsession auth required /usr/lib/security/pam/pam_unix.so.1

    and that fixed my problem.

    It "seems" I'm back to normal now. This is my first "real" experience of
    messing up a pam.conf file so I'm counting myself lucky!

    Thanks for everyone's patience.

    - Donnie



    "Donnie" <dapaynepurdue.edu> wrote in message
    news:bf8tl8$k9k$1mozo.cc.purdue.edu...
    > I *thought* that his was fixed after I fixed my '/etc/pam.conf' file
    because
    > I was able to clear out the user's passwd with the 'passwd -d' command.
    >
    > However, when I try to change the password, it allows me to enter the
    > passwords for the user but then it tells me permission denied.
    >
    > Also, I just tried to add a new user and I have my script set to prompt
    for
    > the user's new password (this always worked before) which they or I enter.
    > It is giving me the same error "passwd: Sorry, wrong password" error
    again.
    >
    > Any other suggestions? I certainly appreciate your help.
    >
    > - Donnie
    >
    >
    >
    > "Donnie" <dapaynepurdue.edu> wrote in message
    > news:bf7126$o16$1mozo.cc.purdue.edu...
    > > I have a Sun E-450 running Solaris 8. I admit, I just patched it up and
    > now
    > > when I add a user and type in an initial password for the user, it comes
    > > back and tells me:
    > >
    > > passwd: Sorry, wrong password
    > >
    > > Permission denied
    > >
    > > I am running as root user. Upon further investigation, I found by
    looking
    > > in the '/etc/shadow' file that the last two users that I have created
    that
    > > I've had this problem with, well, their accounts are locked.
    > >
    > > As root, I cannot change their password or anything. The account is
    plain
    > > locked. I cannot do a 'passwd -d <username>' to unlock it. This gives
    me
    > > the same error as above. I'm stumped here and would certainly
    appreciate
    > > any help on this.
    > >
    > > Thanks in advance.
    > >
    > > - Donnie
    > >
    > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > >
    > > Donnie Payne
    > >
    > > System Administrator
    > >
    > > Purdue University, Genomics Center
    > >
    > > WSLR Bld. 207
    > >
    > > West Lafayette, IN 47907
    > >
    > >
    > >
    > > email: [email]dapaynepurdue.edu[/email]
    > >
    > > Phone: 765-496-2134
    > >
    > > Fax: 765-496-7255
    > >
    > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > >
    > >
    > >
    > >
    >
    >

    Donnie Guest

  6. #6

    Default Re: Password mystery

    I had a similar issue, all I had to do to solve it was removing the force_check option from the line:
    other password requisite pam_authtok_check_so.1 force_check

    that solved my problem...
    Ramon_R Guest

Similar Threads

  1. Here's a mystery
    By mdland55 in forum Macromedia Flash Player
    Replies: 0
    Last Post: February 22nd, 07:47 PM
  2. GetRows Mystery
    By Moshe in forum ASP
    Replies: 8
    Last Post: August 28th, 08:05 PM
  3. Mystery to ME! -Solution
    By Tim A. Setliff in forum Macromedia Director Lingo
    Replies: 0
    Last Post: August 27th, 04:17 AM
  4. Mystery to ME!
    By Tim A. Setliff in forum Macromedia Director Lingo
    Replies: 1
    Last Post: August 25th, 12:39 AM
  5. OS 9.0.2 mystery
    By Martin J. Kenny in forum Mac Networking
    Replies: 7
    Last Post: July 14th, 02:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139