Hacker News new | ask | show | jobs
by spott 125 days ago
Does ssh need to allow root logins?

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

1 comments

How does SSH become an arbitrary user without effective root?
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.