Date: Thu, 5 Jan 2017 18:18:42 +0300 From: Odhiambo Washington <odhiambo@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: Boris Samorodov <bsam@passap.ru>, questions <questions@freebsd.org> Subject: Re: sudo refuses after upgrading from 10.3 -> 11.0 Message-ID: <CAAdA2WP=6mriBBg0HA7U0sebkRb8TdqoUezqnNofM=ZX_XUW1w@mail.gmail.com> In-Reply-To: <20170105152402.a34d2b5c.freebsd@edvax.de> References: <CAAdA2WOwcYHp0TMuP=WYwi-9h9uxPRmYQg5G1JLQspPOYE7ymw@mail.gmail.com> <76d51c92-ea70-c928-297b-4f1379fa4908@passap.ru> <CAAdA2WM4qnpjzwT_Pn67iP=Jv%2BMJen8PjvtFfqSgQLOE0-9oSw@mail.gmail.com> <20170105152402.a34d2b5c.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5 January 2017 at 17:24, Polytropon <freebsd@edvax.de> wrote: > On Thu, 5 Jan 2017 16:18:34 +0300, Odhiambo Washington wrote: > > On 5 January 2017 at 16:01, Boris Samorodov <bsam@passap.ru> wrote: > > > > > 05.01.2017 15:17, Odhiambo Washington =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > > I have upgraded to 11.0 using source upgrade. > > > > > > > > I have reinstalled all packages, including sudo, but.... > > > > > > > > root@mail:/usr/local/ILI/Exim/exim-4.88 # uname -opr > > > > *FreeBSD 11.0-STABLE amd64* > > > > > > > > root@mail:/usr/local/ILI/Exim/exim-4.88 # sudo su > > > > */usr/bin/sudo: Undefined symbol "sudo_reallocarray*" > > > > > > Sudo has never been installed to /usr/bin. > > > > > > HTH & WBR > > > -- > > > bsam > > > > > > > Good catch! > > > > root@mail:/usr/home/admin # ls -al /usr/bin/sudo > > -rwsr-xr-x 1 root wheel 112360 May 10 2016 /usr/bin/sudo > > root@mail:/usr/home/admin # less /usr/bin/sudo > > "/usr/bin/sudo" may be a binary file. See it anyway? > > root@mail:/usr/home/admin # ls -la /usr/local/bin/sudo > > -rwsr-xr-x 1 root wheel 112416 Dec 24 04:15 /usr/local/bin/sudo > > > > After rm /usr/bin/sudo, now sudo works!! Some newbie admin was playing > with > > this system a few weeks ago!!! > > Always remember: > > FreeBSD places system programs in /bin, /usr/bin etc., while > 3rd party programs to to /usr/local/bin; sudo is not part of > FreeBSD, so it's easy to conclude _where_ it has to be located. > (Sidenote: Few ports have options to make them install into > system directories or replace system programs, for example > bash or CUPS, but that is usually not the default.) > > Supplied by FreeBSD: su > > Additional programs: sudo, super > Hi Polytropon, Well noted. It really helps to have a 'third eye', like this list. For two days I have been wondering what was biting me, but I did not stop to think about the odd path. Blame it on age :-) --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WP=6mriBBg0HA7U0sebkRb8TdqoUezqnNofM=ZX_XUW1w>