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

* Re: [PATCH] shadow-securetty: Allow remote telnet login as root
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2012-11-07 21:21 UTC (permalink / raw)
  To: Franklin S. Cooper Jr; +Cc: meta-arago, Franklin S. Cooper Jr

On Wed, Nov 07, 2012 at 03:05:11PM -0600, Franklin S. Cooper Jr wrote:
> * Need to add pts/X to the securetty file to allow remote login via telnet as root

Why do we need telnetd and specifically with root login? Isn't sshd not 
enough? Previously telnetd was enabled because we couldn't ship sshd...


> 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

You don't need to escape anything here, why not simply use "echo"?

> +
> +}
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] shadow-securetty: Allow remote telnet login as root
  2012-11-07 21:21 ` Denys Dmytriyenko
@ 2012-11-07 21:40   ` Cooper Jr., Franklin
  2013-01-03 20:09     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 4+ messages in thread
From: Cooper Jr., Franklin @ 2012-11-07 21:40 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Franklin S. Cooper Jr; +Cc: meta-arago@arago-project.org



-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Wednesday, November 07, 2012 3:21 PM
To: Franklin S. Cooper Jr
Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
Subject: Re: [meta-arago] [PATCH] shadow-securetty: Allow remote telnet login as root

On Wed, Nov 07, 2012 at 03:05:11PM -0600, Franklin S. Cooper Jr wrote:
> * Need to add pts/X to the securetty file to allow remote login via 
> telnet as root

Why do we need telnetd and specifically with root login? Isn't sshd not enough? Previously telnetd was enabled because we couldn't ship sshd...

Franklin:
We still have some customers that want to use telnet to login into the system and some of our backend systems use telnet to login into to the system to perform our testing.
 
> 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

You don't need to escape anything here, why not simply use "echo"?

> +
> +}
> -- 
> 1.7.0.4
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH] shadow-securetty: Allow remote telnet login as root
  2012-11-07 21:40   ` Cooper Jr., Franklin
@ 2013-01-03 20:09     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 4+ messages in thread
From: Cooper Jr., Franklin @ 2013-01-03 20:09 UTC (permalink / raw)
  To: Dmytriyenko, Denys, Franklin S. Cooper Jr; +Cc: meta-arago@arago-project.org

ping

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Wednesday, November 07, 2012 3:41 PM
> To: Dmytriyenko, Denys; Franklin S. Cooper Jr
> Cc: meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] shadow-securetty: Allow remote telnet login
> as root
> 
> 
> 
> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, November 07, 2012 3:21 PM
> To: Franklin S. Cooper Jr
> Cc: meta-arago@arago-project.org; Cooper Jr., Franklin
> Subject: Re: [meta-arago] [PATCH] shadow-securetty: Allow remote telnet login
> as root
> 
> On Wed, Nov 07, 2012 at 03:05:11PM -0600, Franklin S. Cooper Jr wrote:
> > * Need to add pts/X to the securetty file to allow remote login via
> > telnet as root
> 
> Why do we need telnetd and specifically with root login? Isn't sshd not enough?
> Previously telnetd was enabled because we couldn't ship sshd...
> 
> Franklin:
> We still have some customers that want to use telnet to login into the system
> and some of our backend systems use telnet to login into to the system to
> perform our testing.
> 
> > 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.bba
> > ppend
> >
> > diff --git
> > a/meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.b
> > bappend
> > b/meta-arago-distro/recipes-extended/shadow/shadow-securetty_4.1.4.3.b
> > bappend
> > 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
> 
> You don't need to escape anything here, why not simply use "echo"?
> 
> > +
> > +}
> > --
> > 1.7.0.4
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[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.