Done


On Wed, Oct 30, 2013 at 9:38 AM, Jordan Liggitt <notifications@github.com>wrote:

> In node/misc/bin/oo-trap-user:
>
> > +        #syslog.syslog(syslog.LOG_DEBUG, "orig_cmd: " + orig_cmd)
> > +        allargs = orig_cmd.split()
> > +    elif sys.argv[:2] == ['/usr/bin/oo-trap-user', '-c']:
> > +        # use the command passed by the user through SSH
> > +        # be careful not to recurse (ssh adds $SHELL -c)
> > +        # the final command is a SINGLE string
> > +        #syslog.syslog(syslog.LOG_DEBUG, "sys.argv: " + str(sys.argv))
> > +        allargs = sys.argv[2].split()
> > +    elif sys.argv == ['/usr/bin/oo-trap-user']:
> > +        # no command, avoid recursion, drop to shell
> > +        #syslog.syslog(syslog.LOG_DEBUG, "no command: drop to rhcsh")
> > +        allargs = ['rhcsh']
> > +    else:
> > +        # no specific command was requested, default to restricted shell
> > +        #syslog.syslog(syslog.LOG_DEBUG,
> > +                      "using provided command: " + ' '.join(sys.argv))
>
> need to comment this line as well
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/openshift/origin-server/pull/4019/files#r7310871>
> .
>



-- 
----
Mark Lamourine <markllama@gmail.com>
Dad, Hubbie, Software Developer, System Administrator, Road Cyclist