Using the included instructions for pmloginshell which enables keystroke/IO logging of other shells, such as bash, fail to allow the user to login.
The example is missing the 'accept'statement in the configuration.
Note the location of the accept statement and ensure your policy is the same.
if(basename(runcommand)=="pmloginshell")
{
runcommand = "/bin/bash";
if(strsub(runargv[0],0,1)=="-")
{
runargv[0] = "-bash";
}else{
runargv[0] = "bash";
}
accept;
}
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center