Score:0

From Name Service Switch NSS how do I tell which command executed NSS module

cn flag

Is there some robust way how to tell that ie, SSH, os login, login command, su user, sudo su user have triggered some NSS module?

I would like to know in the same way as in PAM we have ie. PAM_TYPE="auth" and PAM_SERVICE="sshd"

Until now I found only ENV variables ie. "_" : su and SUDO_COMMAND : "/bin/login user1

Problem is that with SSH, env variables are cleaned. With OS login I can see that env is kinda empty too.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.