Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2021 21:59:52 +0000
From:      Chris Rees <crees@bayofrum.net>
To:        freebsd-current@freebsd.org, Graham Perrin <grahamperrin@gmail.com>
Subject:   Re: freebsd-update(8) without an echo of "You must be root to run this."
Message-ID:  <BAA5410A-FAC7-45D1-9295-CB1CD3A47F6A@bayofrum.net>
In-Reply-To: <1d5a4d6b-b857-d5c5-070f-8d13f4ae3deb@gmail.com>
References:  <1d5a4d6b-b857-d5c5-070f-8d13f4ae3deb@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hey,

On 16 February 2021 08:53:29 GMT, Graham Perrin <grahamperrin@gmail=2Ecom>=
 wrote:
><https://cgit=2Efreebsd=2Eorg/src/tree/usr=2Esbin/freebsd-update/freebsd-=
update=2Esh?id=3D48ffe56ac5b7adb5b851d32be12b2ec0f13705a4#n555>
>
> =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 echo "You must be root to run this=
=2E"
>
>Below: is this my PEBKAM, or (with a system that is preconfigured to=20
>deny login as root) _should_ there be an echo of the requirement to run
>
>as root?
>
>----
>
>mowa219-gjp4-vm-hellosystem-eol-freebsd% su -
>Password:
>su: Sorry
>mowa219-gjp4-vm-hellosystem-eol-freebsd% sudo grep LOCKED=20
>/etc/master=2Epasswd
>root:*LOCKED*:0:0::0:0:Charlie &:/root:/bin/csh
>mowa219-gjp4-vm-hellosystem-eol-freebsd% sudo freebsd-update upgrade -r

Sudo means that you are root=2E  *LOCKED* just disables the root password=
=2E

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAA5410A-FAC7-45D1-9295-CB1CD3A47F6A>