Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by spott

12 days ago

Does ssh need to allow root logins?

Sshing as a regular user and then sudo to root works 95% of the time…

2 comments

spott

Reply

jmb99  12 days ago

How does SSH become an arbitrary user without effective root?

  • nine_k  12 days ago

    SSH should not become a different user; it should call something like `/bin/login` which uses PAM for authentication and is capable of starting user sessions.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities