Reputation
Top tag
Next privilege 50 Rep.
Comment everywhere
Badges
2
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Dec
18
awarded  Popular Question
Aug
13
comment Validate AIX Password for root from script
Gilles thank you for your help. Your answers led me to what I was looking for. In some of the othe older nix they use either crypt or bigcrypt and I was able to find libraries via the man pages. With AIX could not find it even when I attempted the find command. The C code snippet showed me where the libraries were stored. With that I was abel to write this small C program: #include <stdio.h> #include <crypt.h> / 1st param is the desired password / / 2nd param is 2 char salt */ main(argc,argv) int argc; char *argv[]; { char *p; p=crypt(argv[1],argv[2]); printf("%s",p); }
Aug
13
comment Validate AIX Password for root from script
I do have c89 on one server and the code snippet looks useful. I will see if I can get it to do what I want.
Aug
9
comment Validate AIX Password for root from script
I can not use expect as this is not normaly available or installed on AIX servers. I have extracted the password hash and salt. What I have not found on the AIX servers is the crypt library that would allow me to use the salt and plain text password to caculate the hash. AIX like a lot of older UNIX flavors still use crypt based on the normal DES hashing scheme.
Aug
8
awarded  Student
Aug
8
answered Why does this password fail AIX and Solaris rules
Aug
8
comment Validate AIX Password for root from script
I did find /lib/libcrypt.a but I am not a c coder so I am not sure how to use it. I assume a header file might help but I have not found it. I am fairly new to AIX.
Aug
8
asked Validate AIX Password for root from script