Sponsored Content
Full Discussion: Passwd command not working
Top Forums UNIX for Dummies Questions & Answers Passwd command not working Post 302370613 by ultimatix on Thursday 12th of November 2009 02:37:59 AM
Old 11-12-2009
Bug Passwd command not working

on Runnning passwd command on HPUX 11.23

I am getting

pam_chauthtok: Shared object load failure.


Pls help ...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Why passwd isnt working in shell scripts?

I had to write a script to change my login password, and the script wasnt working fine. When I searched through the previous postings in this forum, I got the solution (using 'expect' tool). But I would like to know why passwd command isnt working in scripts? (1 Reply)
Discussion started by: Deepa
1 Replies

2. UNIX for Dummies Questions & Answers

passwd command not working

Hello All, I am working on Sco unix version 5.0.5. The passwd command has somehow got corrupted and is only displaying the contents of the /etc/passwd file instead of changing the password. I wanted to know if there is any other command through which you can change the password of a user from... (5 Replies)
Discussion started by: rahulrathod
5 Replies

3. Shell Programming and Scripting

Passwd in the line command

Friends, a help I need to do a script in the following way #!/bin/ksh passwd="us45#9ii" su - orapdr -c "sqlplus system/$passwd @verif_tbs.sql" When and executed in the line cmd is this way orapdr 2093232 1 0 Aug 21 - 52:02 sqlplus system/us45#9ii @verif_tbs.sql... (1 Reply)
Discussion started by: sandba
1 Replies

4. Linux

how to get passwd command again if it is deleted by usin rm command

hai friends i have deleted passwd command using rm command i thought it will come again at the time of rebooting but it is completely deleted how to get it worked again (5 Replies)
Discussion started by: venkata.ganesh
5 Replies

5. Emergency UNIX and Linux Support

Passwd command problem

on Runnning passwd command on HPUX 11.23 I am getting pam_chauthtok: Shared object load failure. Pls help ... (13 Replies)
Discussion started by: ultimatix
13 Replies

6. UNIX for Dummies Questions & Answers

passwd command what is the meaning

Hello to everybody i have question i do the passwd -s -a commando and what to knos what is the meaning of the second row. PS NL LK to the side is the date of expiraton and then a 7 a 90 what is the meaning of all that? tHANK YOU FOR YOUR TIME. (1 Reply)
Discussion started by: enkei17
1 Replies

7. Red Hat

how passwd cmd is working

how unix users able to change their password even if they have only read permissions and how backend process will be happening can u explain me which are files need to involved in this process (3 Replies)
Discussion started by: ponmuthu
3 Replies

8. Solaris

passwd command validation

hi Actually the normal user as the permission of executing the passwd command due to suid program... eg consider the two users (normal user) as tom & jerry! when tom executes command as " passwd tom" no issue here... In the same way when the same user tom uses the command as "passwd jerry" ... (1 Reply)
Discussion started by: sriniv666
1 Replies

9. Solaris

[Solved] passwd command not working

Hi all, I have got a problem, i have Solaris 8 server, where on running the passwd command, it says permission denied. I have checked /bin/passwd, /etc/passwd, /etc/shadow all have permissions as like one working server. It is happening for root user and all other users. i have tried... (6 Replies)
Discussion started by: varunksharma87
6 Replies

10. Linux

passwd command not working in single user mode

dear all in single user mode i want to change password in RHEL server 6.0 (Santiago) i tired using passwd command it is not able to change. how to change it. thanks in advance (2 Replies)
Discussion started by: nikhil kasar
2 Replies
pam_chauthtok(3PAM)					       PAM Library Functions					       pam_chauthtok(3PAM)

NAME
pam_chauthtok - perform password related functions within the PAM framework SYNOPSIS
cc [ flag ... ] file ... -lpam [ library ... ] #include <security/pam_appl.h> int pam_chauthtok(pam_handle_t *pamh, const intflags); DESCRIPTION
The pam_chauthtok() function is called to change the authentication token associated with a particular user referenced by the authentica- tion handle pamh. The following flag may be passed in to pam_chauthtok(): PAM_SILENT The password service should not generate any messages. PAM_CHANGE_EXPIRED_AUTHTOK The password service should only update those passwords that have aged. If this flag is not passed, all password services should update their passwords. Upon successful completion of the call, the authentication token of the user will be changed in accordance with the password service con- figured in the system through pam.conf(4). RETURN VALUES
Upon successful completion, PAM_SUCCESS is returned. In addition to the error return values described in pam(3PAM), the following values may be returned: PAM_PERM_DENIED No permission. PAM_AUTHTOK_ERR Authentication token manipulation error. PAM_AUTHTOK_RECOVERY_ERR Authentication information cannot be recovered. PAM_AUTHTOK_LOCK_BUSY Authentication token lock busy. PAM_AUTHTOK_DISABLE_AGING Authentication token aging disabled. PAM_USER_UNKNOWN User unknown to password service. PAM_TRY_AGAIN Preliminary check by password service failed. ATTRIBUTES
See attributes(5) for description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability | Stable | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe with exceptions | +-----------------------------+-----------------------------+ SEE ALSO
login(1), passwd(1), pam(3PAM), pam_authenticate(3PAM), pam_start(3PAM), attributes NOTES
The flag PAM_CHANGE_EXPIRED_AUTHTOK is typically used by a login application which has determined that the user's password has aged or expired. Before allowing the user to login, the login application may invoke pam_chauthtok() with this flag to allow the user to update the password. Typically, applications such as passwd(1) should not use this flag. The pam_chauthtok() functions performs a preliminary check before attempting to update passwords. This check is performed for each password module in the stack as listed in pam.conf(4). The check may include pinging remote name services to determine if they are available. If pam_chauthtok() returns PAM_TRY_AGAIN, then the check has failed, and passwords are not updated. The interfaces in libpam are MT-Safe only if each thread within the multithreaded application uses its own PAM handle. SunOS 5.10 13 Oct 1998 pam_chauthtok(3PAM)
All times are GMT -4. The time now is 09:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy