LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Authorizing SSH in my way (https://www.linuxquestions.org/questions/linux-security-4/authorizing-ssh-in-my-way-903958/)

adampar 09-20-2011 02:27 AM

Authorizing SSH in my way
 
Hi,

I'm trying to get on the SSH authorization mechanism, so I'll be able to check the user password (for example to check if the first letter in the password is 'A').

I've tried to do it with PAM but I didn't able to get the password using

pam_get_item(pamg, PAM_AUTHTOK, (const void**) &pass);

This way I get a null string.

Can someone help me?

Thanks,
Adam

unSpawn 09-20-2011 03:57 AM

The LQ Rules do not permit what you are asking for (cracking): try another board.
Please visit http://www.linuxquestions.org/linux/rules.html for more information.
Feel free to contact me if you have any questions about this policy.


All times are GMT -5. The time now is 03:14 PM.