2004/Nov/06

there is four parts that we have to do,

- bioauthtty(8)

it look like getty(8) so we just do something that can replace the traditional of linux ,getty.

- pam_bioauth

PAM module used for authentication (this stuff we have to work much with this. just study how PAM API works and for PAM there are three part , the first one is PAM module (with this thing we need to make a file that have extend (.so) ) and the second one is PAM Application (with this thing we need to write a codeby use PAMlibraries) and the last one is PAM adminstrator ( with this thing we just config PAM config file)

- libbioauth

performs fingerprint verification (this stuff we don't need to do because we already have had Verifinger4.2 SDK Linux so we just study how it works? and how to use it? )

- uareu module

it's a device driver for AES4000 scanner (also this stuff we don't need to deo because we already have had Verifinger4.2 SDK Linux so we just study how it works? and how to use it? )

-----------------------------------------------------------------------------------------------------

ok let's start at bioauthtty(8) in side there must have open(2) /dev/tty3 (for this project we are going to use this termial na) and must have pam_start() for just initialize the pam_handle_t for bioauthtty(8) and must have do_prompt for display the contents of /etc/issue (this stuff i just had worked with this for a short time i think it's so hard because there is a special charecter for display something like "/v" is, display version of this platform and it have to include some library to use this thing and there are many case(in switch function) and must have pam_authenticate() for attemp to authenticate the use (no comment i still have no idea with this )

thencall a pam_bioauth in this function for open(2) /dev/usb/AES4000 and select(2) until a scanned fingerprint is received then call libbioauth with the image data after that return SUCCESS or FAILURE if it's success then set the username for bioauthtty(8) and if it's failure then return(PAM_AUTH_ERR) , authentication has failed.

then back to bioauthtty(8) in case SUCCESS do such a things pam_get_item() to retrieve the username and getpwnam(3) to retrieve group , shell, etc. and pam_end() to free pam handle then fork(2) and last thing is execvp(3) to launch shell (bash(1), tcsh(1) , etc.) in case FAILURE just syslog(3) and printf(3) to stard error and exit(3) to go back to respawn by init(8)

that's all that we should do but this time we are so busy so just clear our part time job and then after 15 of September we are going to continue again

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
บังเอิญเห้นเลยเข้ามาทักทาย
#1  by  inat : www.66un.net At 2004-11-18 06:02, 
#2  by   (200.59.172.14) At 2006-04-04 22:44, 
#3  by   (200.59.172.14) At 2006-04-04 22:44, 
8SQtGc ntmybccn kdjixvpm jcsvaitz
#4  by  tRVTbebJ (89.248.172.50) At 2009-07-28 06:15, 
dctjalcf jmivhccv hezisfrz
#5  by  HjhFfeIvlQxIeqYivo (95.169.190.71) At 2009-08-01 08:31, 
kaeubhny olitkuhu swbharar
#6  by  wlsuAnGjzgCwA (95.169.190.71) At 2009-08-01 11:11, 
dkmqnhuw gsdiglot geenytaw
#7  by  wXCrwxVSLdplpQDqu (89.248.172.50) At 2009-08-09 20:40, 
remjpazg bncpjsvx pxdnwgnu
#8  by  SsoHyWEmdBCUpl (89.248.172.50) At 2009-08-09 22:07, 
hqsjqmim ezabwgri kyncukgp
#9  by  umACxjEVnDAC (94.102.49.213) At 2009-08-14 18:59, 
omsoqrfv dsoyhkjk bzzheefb
#10  by  NeDIuTdWhLPaNhzS (94.102.49.213) At 2009-08-14 20:28, 
iqispsho mzldxbae lpopzaff
#11  by  eezsXAiisFByUCOLE (94.102.49.213) At 2009-08-14 21:54, 
axxgymck utvlbruf tuftmsdz
#12  by  NiXsBuGtEZfzbNwT (91.121.84.111) At 2009-08-18 15:02, 
ขอบคุณจ้า
#13  by  ดาวโหลดเพลง (124.157.236.219) At 2009-09-09 12:12, 
ขอบคุณจ้า
#14  by  parts (124.157.236.229) At 2009-09-21 07:11, 
ดีๆ
#15  by  ดีๆ (124.157.236.229) At 2009-09-22 06:03, 
Que
#16  by  sera (124.157.236.176) At 2009-10-03 17:08, 
ขอบคุณค่ะ
#17  by  โหลดเพลง (124.157.236.176) At 2009-10-06 01:48, 
Que se ra
#18  by  scratch and dent (124.157.236.46) At 2009-11-12 04:48, 
hi all !!
#19  by  sears parts (124.157.191.197) At 2009-12-03 13:10, 

<< Home