TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: AHEM A RIVET`S SHOT
from: LEW PITCHER
date: 2018-07-05 14:32:00
subject: Re: Login in problem

Ahem A Rivet's Shot wrote:

> On Thu, 05 Jul 2018 12:42:53 -0400
> Lew Pitcher  wrote:
>
>> Because it needs root privileges to set up a specific user's execution
>> environment, the login(1) binary must run with the "effective" userid of
>> root. That means that either root runs login, or something that becomes
>> root (like sudo) runs login.
>
> Is login not setuid in Raspbian then ? It's not something I use a
> lot but I've always expected it to be setuid.

No, not unless they've changed it since Jessie. On Raspbian Jessie, it is
  -rwxr-xr-x 1 root root 42876 May 17  2017 /bin/login




--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.