commit | dfadc970444c9f1c0de3062f07f46924ffb12f46 | [log] [tgz] |
---|---|---|
author | Brandon Philips <brandon@ifup.co> | Fri Apr 11 01:22:21 2014 |
committer | Brandon Philips <brandon@ifup.co> | Fri Apr 11 01:29:33 2014 |
tree | 0f6e89a94ef88660923c122744ba4ba24def1f1c | |
parent | 8e368bc2e1c76e4e542866909bf0040be9ca5562 [diff] |
fix(toolbox): updates and fixes based on marineam's feedback
toolbox is a small script that launches a container to let you bring in your favorite debugging or admin tools.
$ /usr/bin/toolbox [root@srv-3qy0p ~]# yum install tcpdump [root@srv-3qy0p ~]# tcpdump -i ens3 tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ens3, link-type EN10MB (Ethernet), capture size 65535 bytes
Set a /etc/passwd
entry for one of the users to /usr/bin/toolbox
.
useradd bob -m -p '*' -s /usr/bin/toolbox
ssh bob@hostname.example.com ______ ____ _____ / ____/___ ________ / __ \/ ___/ / / / __ \/ ___/ _ \/ / / /\__ \ / /___/ /_/ / / / __/ /_/ /___/ / \____/\____/_/ \___/\____//____/ [root@srv-3qy0p ~]# yum install emacs [root@srv-3qy0p ~]# emacs /media/root/etc/systemd/system/docker.service