Author |
Message
|
LuisFer |
Posted: Thu Jan 03, 2008 11:26 am Post subject: A little help |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
we've a Security Channel exit on our z/OS SVRCONNs working fine whith Windows Clients to authenticate User/pass with RACF.
Now, we need connect Unix (z/Linux) clients but i don't know how to obtain the password(on Linux) to pass it to this one.
Can help me with docs or any sample?
Thanks in advanced. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jan 03, 2008 11:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Luis,
On all versions of Unix I know, using std OS authentication, the password is in encrypted form in the /etc/passwd file and it should be readable by everybody. It is ':' delimited...
I believe the algorithm first encrypts the password you type and then compares the encrypted result with the stored encrypted password.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
LuisFer |
Posted: Thu Jan 03, 2008 11:42 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
Thank yoy very much, i suposse that i need use MD5 or some software for deencrypt (sorry my english).
Am i in mistake?? |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jan 03, 2008 11:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
LuisFer wrote: |
Thank yoy very much, i suposse that i need use MD5 or some software for deencrypt (sorry my english).
Am i in mistake?? |
Don't know that you can. It may well be a one way encryption process. As said in passwd verification module the password gets first encrypted and the encrypted result gets compared to the stored result....  _________________ MQ & Broker admin |
|
Back to top |
|
 |
LuisFer |
Posted: Thu Jan 03, 2008 11:58 am Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
Thanks a lot fjb_saper.
Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jan 03, 2008 12:17 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also, the actual encrypted text may not be kept in /etc/passwd, and may not be kept in a world readable location.
Because the crypt algorithm used is not as secure as it was in 1970... and because of a lot of changes since then.
You probably need to look at the man pages or other Unix programming documentation to find out how to retrieve the user's current password using programming APIs. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
LuisFer |
Posted: Thu Jan 03, 2008 12:20 pm Post subject: |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
Thanks jefflowrey, i'm working on this. |
|
Back to top |
|
 |
|