ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » User Exits » A little help

Post new topic  Reply to topic
 A little help « View previous topic :: View next topic » 
Author Message
LuisFer
PostPosted: Thu Jan 03, 2008 11:26 am    Post subject: A little help Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 03, 2008 11:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
LuisFer
PostPosted: Thu Jan 03, 2008 11:42 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 03, 2008 11:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
LuisFer
PostPosted: Thu Jan 03, 2008 11:58 am    Post subject: Reply with quote

Partisan

Joined: 17 Aug 2002
Posts: 302

Thanks a lot fjb_saper.

Regards
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jan 03, 2008 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
LuisFer
PostPosted: Thu Jan 03, 2008 12:20 pm    Post subject: Reply with quote

Partisan

Joined: 17 Aug 2002
Posts: 302

Thanks jefflowrey, i'm working on this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » User Exits » A little help
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.