Re: queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 03 September 2003 16:03, Sanket Totala wrote:
> Hi there,
>
> i am new to linux. I have to do a project i Linux as part of my curriculum.
> It is a project in which I have to accept the users thumbprint,
> authenticate and allow him access if he is the one. So i would probably
> need to change some modules in the kernel; those required at logon. Kindly
> guide me on this. I mean books i should read, any free e-book and things
> like that.

I might be wrong here, so feel free to correct me.
Normally user authorization is done in userspace, and not kernelspace. 
An often used library is PAM (Plugable Authentication Modules), but other 
libraries/methods are used. The documentation can be found here:

http://www.kernel.org/pub/linux/libs/pam/

So when you login, the login program is actually running as root and does the 
user switching by using the setuid system call, after it has done the 
necesarry user authentication.

However, you might need writing some modules to communicate with the 
fingerprinting device, to get the data somehow.

Good luck.
- -- 
Paul Fleischer // ProGuy
<proguy at proguy dot dk>
PGP key fingerprint: 755A 9FB3 F7E4 DB62 8154  C5D6 381B BBCD 7BE1 FF30
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/VfzOOBu7zXvh/zARAutnAJoC0BjWWU95ilmVynPPyYDHwqF5iQCdEo5h
64zo3f2978OBX8lpLSyZFrU=
=htBk
-----END PGP SIGNATURE-----

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux