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

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


smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
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, 
watch naruto online!!
#20  by  naruto episodes (124.157.189.199) At 2010-01-03 17:45, 
Following my own monitoring, thousands of persons on our planet receive the <a href="http://goodfinance-blog.com/topics/personal-loans">personal loans</a> at various banks. Thence, there's good possibilities to receive a college loan in all countries.
#21  by  EricaDuran (91.212.226.143) At 2011-10-23 23:33, 
We provide college students all over the world to buy fast essay of supreme quality and for reasonable prices. Moreover, we are a reliable custom papers writing organization.
#22  by  college research paper (193.105.210.41) At 2011-11-01 08:01, 
It's distinguished for people to know by heart though, you need to buy term papers or buy research paper just because a school isn't the finest at everything doesn't mean it can't be the desirable at few things. Essays blogs can furnish more usefull for your work you can also buy essay. But first of all, my tribute to this article, it has a marvelous actuation.
#23  by  buy research papers (193.105.210.41) At 2011-11-02 12:44, 
Your good thought could be best selling, because it’s very hard to find online writers job. Several days ago I searched a lot and was definitely satisfied with outcome.
#24  by  writer freelance jobs (193.105.210.41) At 2011-11-08 10:19, 
I need to Buy Custom Essays for affordable prices. I also have to find solid term papers writing organizations. I must be sure that the best professionals write my essay papers.
#25  by  Essay Papers Online (193.105.210.41) At 2011-11-13 00:59, 
A lot of students in the whole world understand that the term paper writing service can furnish us with the paper writing. Therefore, it is simple to buy custom essay papers.
#26  by  buy an essay online (193.105.210.41) At 2011-11-19 02:01, 
To find facts just about this post, people purchase essays or custom essays at the essay writing services. Some writing services offer the essay writing about this topic.
#27  by  custom writing (31.184.238.21) At 2012-02-16 00:25, 
I know that the really huge archive of the economics thesis just about this topic is at thesis writing services. Thence, there’re no complications to come to custom dissertation service and buy dissertations.
#28  by  thesis service (91.212.226.136) At 2012-04-24 12:13, 
Consequently busy guys are not able to cope with social bookmarking. So, their business sites don't get good page rank. The bookmarking submission service can fix this kind of problem quickly!
#29  by  social bookmarker (103.7.57.18|91.212.226.136) At 2012-05-01 20:27, 

<< Home