Writing PAM Module that Will Read Password From File and Log the User In?

So basically you simply don't want a password at all.

So basically you simply don't want a password at all. You say the real password is encrypted in a file. With what key?

Who else has access to the password file (encrypted or not does not matter)? Who else has physical access to the login screen? Everyone with physical access to your login screen needs to know only the username to log in.

This can be achieved by the existing pam_permit module more easily. Insert that one into your configuration and be done with it. See man pam_permit and man pam.

D for details.

I want password, password will stored in a user's device. If device is mounted to the computer, I want to log in without entering password but making pam module to find this password. Key exchange, decryption function is not issue.

– user422835 Dec 21 '11 at 22:20.

A 1:1 translation of your question would be using PAM items to pass the password from your module to some other module (e.g. Just like try_first_pass / use_first_pass, see Linux-PAM sources). This should be relatively easy, there are many code examples for that. What you could try to do instead is just recognize the right USB key.

There used to be a module called pam_usb doing just that, see sourceforge.net/projects/pamusb/ and https://github. Com/aluzzardi/pam_usb.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions