Strange passwd error

This is a discussion on Strange passwd error within the Tech Board forums, part of the Community Boards category; Hi, I installed Ubuntu server 8.04 and I was able to change the root password. Then after installing a bunch ...

  1. #1
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545

    Strange passwd error

    Hi,
    I installed Ubuntu server 8.04 and I was able to change the root password.
    Then after installing a bunch of packages I created a user and tried running this (as root): passwd username and got this error:
    Code:
    passwd: Module is unknown
    passwd: password unchanged
    Has anyone seen this before? What could cause passwd not to work?
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  2. #2
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,251
    Looks like your PAM installation is hosed -- that's a PAM error
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Do you know how to fix it? Is there a package that I can reinstall or something?
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  4. #4
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,251
    Quote Originally Posted by cpjust View Post
    Do you know how to fix it? Is there a package that I can reinstall or something?
    I can't say for sure since I don't know your configuration of PAM. It looks like it's trying to load an authentication module that isn't installed, or possibly a module that doesn't actually exist. I'd start with the PAM man pages...

    If you don't care about root cause, you could try reinstalling all the PAM components
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  5. #5
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Running dpkg -l | grep pam reports:
    Code:
    ii  auth-client-config                    0.6.1                       pam and NSS profile switcher
    ii  libpam-ldap                           184-2ubuntu2                Pluggable Authentication Module allowing LDA
    ii  libpam-modules                        0.99.7.1-5ubuntu6.1         Pluggable Authentication Modules for PAM
    ii  libpam-runtime                        0.99.7.1-5ubuntu6.1         Runtime support for the PAM library
    ii  libpam0g                              0.99.7.1-5ubuntu6.1         Pluggable Authentication Modules library
    How do I reinstall them?
    Do I just apt-get remove and then apt-get install each of them?
    "I am probably the laziest programmer on the planet, a fact with which anyone who has ever seen my code will agree." - esbo, 11/15/2008

    "the internet is a scary place to be thats why i dont use it much." - billet, 03/17/2010

  6. #6
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,251
    Quote Originally Posted by cpjust View Post
    Running dpkg -l | grep pam reports:
    Code:
    ii  auth-client-config                    0.6.1                       pam and NSS profile switcher
    ii  libpam-ldap                           184-2ubuntu2                Pluggable Authentication Module allowing LDA
    ii  libpam-modules                        0.99.7.1-5ubuntu6.1         Pluggable Authentication Modules for PAM
    ii  libpam-runtime                        0.99.7.1-5ubuntu6.1         Runtime support for the PAM library
    ii  libpam0g                              0.99.7.1-5ubuntu6.1         Pluggable Authentication Modules library
    How do I reinstall them?
    Do I just apt-get remove and then apt-get install each of them?
    Probably... but I'd check your configuration first to make sure it's not just a typo in a config file somewhere.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Testing some code, lots of errors...
    By Sparrowhawk in forum C Programming
    Replies: 48
    Last Post: 12-15-2008, 03:09 AM
  2. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 10:52 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21