News for hackers. Stuff that matters.
Re:Simple Two-Factor SSH Authentication by moomerman on Friday September 23, 2011 @11:17AM (#3030262)
SSH_ORIGINAL_COMMAND isn't in the ENV at all if no command was passed through
Re:Simple Two-Factor SSH Authentication by pedrocr on Friday September 23, 2011 @11:21AM (#3030277)
Right, that was what I asked in my other post. I assumed sshd would fill in the login shell there if nothing was passed as that is effectively what is being called but it seems not. I see you're doing exec(SHELL) to fix that.