RES: RES: Visudo installation

José Antonio Alves de Paula via sudo-users <[email protected]> Wed, 8 May 2024 15:22:34 +0000
Newsgroups gmane.comp.tools.sudo.user
Message-ID <RO2P215MB1746AF1A60F78B5705B5BC45D4E52@RO2P215MB1746.LAMP215.PROD.OUTLOOK.COM>
Hello Todd

Passing the full path, visudo worked, however, if I put it in the root's .p=
rofile, the error is the same. How to set it so that, by providing only the=
 visudo name, it works without the full path?

Jos=E9 Paula
Especialista de Infraestrutura
e-mail: [email protected]
Mobile: +55 19 9 9679-1036
Site: https://v8.tech



-----Mensagem original-----
De: Todd C. Miller <[email protected]>
Enviada em: quarta-feira, 8 de maio de 2024 11:36
Para: Jos=E9 Antonio Alves de Paula <[email protected]>
Cc: [email protected]
Assunto: Re: RES: [sudo-users] Visudo installation

On Wed, 08 May 2024 14:27:38 -0000, =3D?iso-8859-1?Q?Jos=3DE9_Antonio_Alves=
_de_Paul
a?=3D wrote:

> I removed the suspicious package and installed the package I
> downloaded from the link you gave me and the error was the same.
>
> Installation of <TCMsudo> was successful.
> root@XXXXXXX:/tmp# visudo
> ld.so.1: visudo: fatal: libc.so.1: version 'SUNWpublic' not found
> (required b y file /usr/sbin/visudo)
> ld.so.1: visudo: fatal: libc.so.1: open failed: No such file or
> directory Killed root@XXXXXXX:/tmp#

Do you get the same result if you run it with a full path?  E.g.
$ /usr/local/sbin/visudo

If so, what does the following command return?
$ elfdump /usr/local/sbin/visudo | grep libc.so

It should look like this:

       [6]  libc.so.1                   SUNW_1.22.7
       [6]  NEEDED            0x85b               libc.so.1

if you installed TCMsudo-1.9.15p5-sol10.sparc.pkg.

 - todd
AVISO LEGAL
Esta mensagem =E9 destinada exclusivamente para a(s) pessoa(s) a quem =E9 d=
irigida, podendo conter informa=E7=E3o confidencial e/ou legalmente privile=
giada. Se voc=EA n=E3o for destinat=E1rio desta mensagem, desde j=E1 fica n=
otificado de abster-se a divulgar, copiar, distribuir, examinar ou, de qual=
quer forma, utilizar a informa=E7=E3o contida nesta mensagem, por ser ilega=
l. Caso voc=EA tenha recebido esta mensagem por engano, pedimos que nos ret=
orne este E-Mail, promovendo, desde logo, a elimina=E7=E3o do seu conte=FAd=
o em sua base de dados, registros ou sistema de controle.

LEGAL ADVICE
This message is exclusively destined for the people to whom it is directed,=
 and it may contain private and/or legally exceptional information. If you =
are not addressee of this message, since now you are advised to not release=
, copy, distribute, check or, otherwise, use the information contained in t=
his message, because it is illegal. If you received this message by mistake=
, we ask you to return this email as soon as possible and delete it and its=
 contents of your database, registrations or controls system.
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users