| Summary: | oo-trap-user does not honor requested command when SSH_ORIGINAL_COMMAND is unset | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jordan Liggitt <jliggitt> |
| Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0.0 | CC: | jliggitt, libra-onpremise-devel, lmeyer, mlamouri, wjiang, xiama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-openshift-origin-node-1.17.5-2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1024102 | Environment: | |
| Last Closed: | 2013-12-16 09:11:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1024102 | ||
| Bug Blocks: | |||
|
Description
Jordan Liggitt
2013-11-27 15:50:14 UTC
enterprise-server cherry-pick:
commit 508e10c039c267687608fa366d05145e19754421
Author: Mark Lamourine <markllama>
Date: Mon Oct 28 17:13:21 2013 -0400
allow oo-trap-user to run from non-public-key auth
clarified command branching and debugging
commented syslogs for debugging to minimize load
commented one more line
Prevent double-calling oo-trap-user twice
lmeyer: cherry-picked cleanly from origin-server
4b91a8ac92781f4a85e2d2327e4d60fd52f5f9fd #cherrypick
check on puddle [2.0/2013-11-27.2] 1.get the hostname of node #host $public_ip 2.add node host principal on kerberos server # kadmin.local -q "addprinc host/vm-167-59-4-10.ose.phx2.redhat.com" 3.add a user on kerberos server #kadmin.local -q "addprinc xiama" 4.add key for node host principal on kerberos server #kadmin.local -q "ktadd host/vm-167-59-4-10.ose.phx2.redhat.com" #kadmin.local -q "ktadd -k node.keytab host/vm-167-59-4-10.ose.phx2.redhat.com" 5.cp keytab from kerberos server to node, save as /etc/krb5.keytab 6.kinit on rhc client #kinit xiama 7.kinit on node #kinit -kt /etc/krb5.keytab host/vm-167-59-4-10.ose.phx2.redhat.com 8.create app and delete all sshkey, then add krb key # rhc sshkey add test --type krb5-principal --content xiama 9.rhc app ssh $app 10.rhc git-clone $app 11.do some changes, and git push result: 8.cat login into the app 9.can git clone the app 10.git push successfully, add access successfully! |