Displaying 3 results from an estimated 3 matches for "pr_passwd".
Did you mean:
pg_passwd
2003 Sep 08
2
Variable declarations in xcrypt.c
...*spw;
- if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL)
- pw_password = spw->pwa_passwd;
+ if (issecure()) {
+ struct passwd_adjunct *spw;
+
+ if (spw = getpwanam(pw->pw_name) != NULL)
+ pw_password = spw->pwa_passwd;
+ }
# elif defined(HAVE_SECUREWARE)
- struct pr_passwd *spw = getprpwnam(pw->pw_name);
+ if (spw != NULL) {
+ struct pr_passwd *spw = getprpwnam(pw->pw_name);
- if (spw != NULL)
pw_password = spw->ufld.fd_encrypt;
+ }
# elif defined(__hpux) && !defined(HAVE_SECUREWARE)
- struct pr_passwd *spw;
- if (iscomsec() &&...
2002 Mar 25
0
[Bug 184] New: 3.1p1 openssh fails to build a working sshd on Trusted HP-UX 10.26
...nclude <prot.h>
+ #endif
RCSID("$OpenBSD: auth2.c,v 1.85 2002/02/24 19:14:59 markus Exp $");
#include <openssl/evp.h>
***************
*** 183,190 ****
--- 187,209 ----
if (authctxt->attempt++ == 0) {
/* setup auth context */
+ #ifdef TRUSTED_HPUX
+ struct pr_passwd *pr_pw = NULL;
+ #endif
struct passwd *pw = NULL;
pw = getpwnam(user);
+
+ #ifdef TRUSTED_HPUX
+ //Trusted HP-UX passwords are stored differently
+ //you need to call getprpwnam to get the password for
+ //a user.
+ pr_pw = getprpwnam(pw->pw_name);
+ //This dies with a bus er...
2005 Jun 29
5
[Bug 1058] Updating protected password database in HP-UX
http://bugzilla.mindrot.org/show_bug.cgi?id=1058
Summary: Updating protected password database in HP-UX
Product: Portable OpenSSH
Version: 4.1p1
Platform: All
OS/Version: HP-UX
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket at mindrot.org
ReportedBy: