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)
|