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

Re: This is weird: I can ssh into a box, but I can't access it directly



On Feb 27, 2020, Greg Wooledge wrote:
> On Thu, Feb 27, 2020 at 01:47:10PM -0500, Dan Purgert wrote:
> > Interesting that "root from SSH" would behave differently than "local
> > root".  That's news to me.
> 
> Well, they run different programs, and read different config files.
> A console login uses getty + login, and reads /etc/pam.d/login.  An
> ssh login uses sshd, and reads /etc/pam.d/sshd.

Thanks for the clarity.  I suppose I have to bump up console vs. ssh
logins higher on the list of "everything I need to learn about Linux"

-- 
|_|O|_| 
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281

Attachment: signature.asc
Description: PGP signature


Reply to: