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...
- 05-30-2005 #11
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
- 05-30-2005 #12Linux 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?
- 05-31-2005 #13
- 05-31-2005 #14
That command was run as the normal user.
In order to change the root password, you have to be logged in as root.
TryorCode:su
Then your root password.Code:su -
Now you can doCode: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
- 06-01-2005 #15
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]#
- 06-01-2005 #16Linux 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.
- 06-02-2005 #17
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
- 06-05-2005 #18Just Joined!
- Join Date
- Apr 2004
- Location
- Florida
- Posts
- 3
The fix is to reinstall pam
- 04-13-2007 #19Just 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.)



