Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

if you exec the shell on your own (and make auth decisions on your own) outside of PAM you are basically destroying meaningful logging of successful/unsuccessful authentication, right?


You can log the events yourself. If it's a shell script, it would be as easy as:

    logger -p authpriv.notice "Some message about authentication"


That is great thank you, I was looking for something along those lines




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: