mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-20 11:02:00 +00:00
getty: Make namespacing more obvious
Warn the user in the MOTD Add "(ns: getty)" or "(ns: sshd)" to the PS1 Use `agetty` and `-a root` to ensure we get a login shell when insecure Signed-off-by: Dave Tucker <dt@docker.com>
This commit is contained in:
1
pkg/sshd/etc/profile.d/namespace.sh
Normal file
1
pkg/sshd/etc/profile.d/namespace.sh
Normal file
@@ -0,0 +1 @@
|
||||
export PS1="(ns: sshd) $PS1"
|
Reference in New Issue
Block a user