[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Authentication for telnet.



On Sun, Sep 29, 2019 at 10:51:22PM +0000, Andy Smith wrote:
> On Sun, Sep 29, 2019 at 02:36:02PM -0700, peter@easthope.ca wrote:
> > An interactive shell session with minimal overhead. (Or maximal 
> > efficiency.)

> I am old enough to remember how we used to remotely manage machines
> before SSH was invented: rlogin.

Oh, I see now that you were interested in passwordless equivalent of
"telnet localhost".

It is confusing why you would need to do this to localhost as you
could just type "bash" (or dash or zsh or whatever) to get a new
shell. So it would help our understanding if you were to explain
what your use case is for this new interactive shell session.

If you are in some sort of graphical desktop then as you already
say, the usual method is just to open a new terminal emulator.

On the console you could switch to a new virtual console
ctrl+alt+F1, F2, F3 etc. That would have a login prompt though.
Would that solution be good enough if it was automatically logged in
as your user?

If you are just trying to execute things as another use then su or
sudo may be more appropriate. "sudo -u anotheruser -s" gets you an
interactive shell session as anotheruser, and can be configured to
be passwordless if you like.

I mentioned rlogin. With rlogin you can still use it over localhost
to switch between users in a passwordless manner. So too could SSH,
of course. If it's only to the same host though it seems overkill
compared to su or sudo.

So I think we really do still need to know more about your use case.

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: