Skip Menu |

This queue is for tickets about the Term-Shell CPAN distribution.

Report information
The Basics
Id: 123190
Status: rejected
Priority: 0/
Queue: Term-Shell

People
Owner: Nobody in particular
Requestors: pokhariyalp [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: prompt login credential before showing shell
Date: Wed, 4 Oct 2017 15:45:26 +0530
To: bug-term-shell [...] rt.cpan.org
From: Prashant Pokhriyal <pokhariyalp [...] gmail.com>
First of all thank you so much sir for the package. After going over many modules I thought of using your package for my console based application. I've some scenario which I'm not able to find in documentation. I want to first get login and password of the user before getting into the shell. Is there any way so that I can prompt login and password and if credential is correct he will enter in shell otherwise not. -- Thank You! Regards, Prashant Pokhriyal
On Wed Oct 04 06:15:42 2017, pokhariyalp@gmail.com wrote: Show quoted text
> First of all thank you so much sir for the package. After going over many > modules I thought of using your package for my console based application. > I've some scenario which I'm not able to find in documentation. > > I want to first get login and password of the user before getting into the > shell. Is there any way so that I can prompt login and password and if > credential is correct he will enter in shell otherwise not. >
I believe you can use a different module such as https://metacpan.org/release/Term-ReadPassword and then, upon successful auth, initiate and start Term-Shell. Note that if the Perl program is run locally, then one can edit the code to remove the username/password prompts so make sure it is done securely.
Subject: Re: [rt.cpan.org #123190] prompt login credential before showing shell
Date: Wed, 4 Oct 2017 22:49:15 +0530
To: bug-Term-Shell [...] rt.cpan.org
From: Prashant Pokhriyal <pokhariyalp [...] gmail.com>
Thanks a lot. On 04-Oct-2017 10:31 PM, "Shlomi Fish via RT" <bug-Term-Shell@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=123190 > > > On Wed Oct 04 06:15:42 2017, pokhariyalp@gmail.com wrote:
> > First of all thank you so much sir for the package. After going over many > > modules I thought of using your package for my console based application. > > I've some scenario which I'm not able to find in documentation. > > > > I want to first get login and password of the user before getting into
> the
> > shell. Is there any way so that I can prompt login and password and if > > credential is correct he will enter in shell otherwise not. > >
> > I believe you can use a different module such as > https://metacpan.org/release/Term-ReadPassword and then, upon successful > auth, initiate and start Term-Shell. Note that if the Perl program is run > locally, then one can edit the code to remove the username/password prompts > so make sure it is done securely. >
On Wed Oct 04 13:19:42 2017, pokhariyalp@gmail.com wrote: Show quoted text
> Thanks a lot. >
resolving then and next time please use a forum - http://perl-begin.org/ . Show quoted text
> On 04-Oct-2017 10:31 PM, "Shlomi Fish via RT" <bug-Term- > Shell@rt.cpan.org> > wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=123190 > > > > > On Wed Oct 04 06:15:42 2017, pokhariyalp@gmail.com wrote:
> > > First of all thank you so much sir for the package. After going > > > over many > > > modules I thought of using your package for my console based > > > application. > > > I've some scenario which I'm not able to find in documentation. > > > > > > I want to first get login and password of the user before getting > > > into
> > the
> > > shell. Is there any way so that I can prompt login and password and > > > if > > > credential is correct he will enter in shell otherwise not. > > >
> > > > I believe you can use a different module such as > > https://metacpan.org/release/Term-ReadPassword and then, upon > > successful > > auth, initiate and start Term-Shell. Note that if the Perl program is > > run > > locally, then one can edit the code to remove the username/password > > prompts > > so make sure it is done securely. > >