Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19
this is the output ....when i run the command 'passwd' for change password ... i use redhat 7.3 root]# passwd Changing password for user root. passwd: Module is unknown...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined! laolinux's Avatar
    Join Date
    May 2005
    Location
    Lao
    Posts
    9

    this is the output ....when i run the command 'passwd' for change password ... i use redhat 7.3
    root]# passwd
    Changing password for user root.
    passwd: Module is unknown

  2. #12
    Linux Newbie
    Join Date
    Mar 2005
    Location
    san diego, ca
    Posts
    131
    he is asking the output of which passwd!!! not passwd...

    also, why are you using such an old distro?

  3. #13
    Just Joined! laolinux's Avatar
    Join Date
    May 2005
    Location
    Lao
    Posts
    9
    # which passwd
    /usr/bin/passwd

  4. #14
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    That command was run as the normal user.
    In order to change the root password, you have to be logged in as root.

    Try
    Code:
    su
    or
    Code:
    su -
    Then your root password.

    Now you can do
    Code:
    passwd

    That command "which passwd" if run as root, will give /usr/sbin/passwd, if not, the only way I see around it is to login in single user mode, I haven't had to do this so I can't explain how, and try to do "passwd" from there.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  5. #15
    Just Joined! laolinux's Avatar
    Join Date
    May 2005
    Location
    Lao
    Posts
    9
    i already did it ... here

    [support@example support]$ su -
    Password:
    [root@example root]# passwd
    Changing password for user root.
    passwd: Module is unknown

    [root@example root]# which passwd
    /usr/bin/passwd
    [root@example root]#

  6. #16
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    Have you checked the system logs to see if there's any clues in there? On Redhat it's probably /var/log/messages, but there may be others which are written to. "ls -lrt" will give a list in time order, reapeat the passwd command to generate the error, then look at which files have just been written and see what their last entries say.

  7. #17
    Just Joined! laolinux's Avatar
    Join Date
    May 2005
    Location
    Lao
    Posts
    9
    Jun 2 08:25:50 atcyberia passwd: PAM unable to dlopen(/lib/security/pam_smbpass.so)
    Jun 2 08:25:50 atcyberia passwd: PAM [dlerror: /lib/security/pam_smbpass.so: cannot open shared object file: No such file or directory]
    Jun 2 08:25:50 atcyberia passwd: PAM adding faulty module: /lib/security/pam_smbpass.so


    this is what i got .. then what i should do next ? i am Newbie in linux.. so i don't dare to edit the script ... so i need Suggestions from you

  8. #18
    Just Joined!
    Join Date
    Apr 2004
    Location
    Florida
    Posts
    3
    The fix is to reinstall pam

  9. #19
    Just Joined!
    Join Date
    Apr 2007
    Posts
    1
    I had the same error. It was because a libpam-*** was missing.
    Be sure that you have all libpam installed.
    (check errors at /var/log/auth.log)

    (I use Debian.)

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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