All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] shadow-securetty: Allow remote telnet login as root
@ 2012-11-07 21:05 Franklin S. Cooper Jr
  2012-11-07 21:21 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Franklin S. Cooper Jr @ 2012-11-07 21:05 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

* Need to add pts/X to the securetty file to allow remote login via telnet as root

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../shadow/shadow-securetty_4.1.4.3.bbappend       |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.bbappend

diff --git a/meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.bbappend b/meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.bbappend
new file mode 100644
index 0000000..a09c514
--- /dev/null
+++ b/meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.bbappend
@@ -0,0 +1,15 @@
+PR_append = "-arago0"
+
+do_install_append () {
+    # Allow telnet sessions to login as root
+    securetty_file=${D}${sysconfdir}/securetty
+
+    printf '\n' >> $securetty_file
+    printf '# Allow 5 telnet login\n' >> $securetty_file
+    printf 'pts/0\n' >> $securetty_file
+    printf 'pts/1\n' >> $securetty_file
+    printf 'pts/2\n' >> $securetty_file
+    printf 'pts/3\n' >> $securetty_file
+    printf 'pts/4\n' >> $securetty_file
+
+}
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-03 20:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 21:05 [PATCH] shadow-securetty: Allow remote telnet login as root Franklin S. Cooper Jr
2012-11-07 21:21 ` Denys Dmytriyenko
2012-11-07 21:40   ` Cooper Jr., Franklin
2013-01-03 20:09     ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.