<quote sender="Ed L Cashin"> > On Thu, Jun 19, 2003 at 09:31:12AM +0800, Eugene Teo wrote: > > No one has any idea? > > Grumble grumble top post ... > > > <quote sender="Eugene Teo"> > > > Hi guys, > > > > > > Is it possible to do authentication via libpam in the kernel? > > Maybe call_usermodehelper, like in drivers/input/input.c? > > You could have a userspace program that does authentication, > and call it from the kernel. any idea how i can call it from the kernel? i have been trying to find out how. i am also thinking if i should use lsm and use their security hooks, intercept the execution of a program, call the userspace program, authenticate via pam, and then return boolean to the kernel to continue or halt execution. any examples? -- Eugene TEO @ Linux Users Group, Singapore <eugeneteo@lugs.org.sg> GPG FP: D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5 main(i){putchar(182623909>>(i-1)*5&31|!!(i<7)<<6)&&main(++i);} -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/