[sudo-users] SUDO takes a long time to log in
Carla Cristina Alonzo Duclos
ccduclos at santanderbanespa.com.br
Thu Sep 23 08:33:18 EDT 2004
Hy Aaron,
Thanks for your help. I had though about DNS problem, but I solved the
problem changing the version of SUDO.
Todd sent the tip.
I am sending his email explanning why sudo was slow.
--------------
In message <D440EE8C28793D4298633B5AD8BEB3C8029D06 at bsbrsp42.bs.br.bsch>
so spake Carla Cristina Alonzo Duclos (ccduclos):
> I am using sudo-1.6.7p5-1. I looked for the new version (1.6.8p1) and
> I found one. I tried and it worked properly.
Great. In case you were wondering the delay was probably caused by sudo
trying to close all possible open file descriptors. When the resource
limits are set very high this can be slow. Starting with 1.6.8 sudo uses
the closefrom() function or /proc/$$/fd to only close those that are really
open, which is much faster.
- todd
--------------
Thanks a lot,
Regards,
Carla
-----Original Message-----
From: Aaron Spangler [mailto:aaron777 at gmail.com]
Sent: quarta-feira, 22 de setembro de 2004 21:16
To: Carla Cristina Alonzo Duclos
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] SUDO takes a long time to log in
Maybe it cannot lookup the name of the syslog server in DNS? (Maybe DNS is
slow?) or Maybe syslogd is not running or maybe you are using LDAP and LDAP
is running slow?
As root, try doing 'strace sudo su -' on linux. Or if you are on Solaris,
try 'truss sudo su -'. You will then see where sudo is hanging.
-Aaron
On Wed, 22 Sep 2004 06:50:53 -0300, Carla Cristina Alonzo Duclos
<ccduclos at santanderbanespa.com.br> wrote:
> Hi everybody,
>
> I would like to ask for some help.
>
> I have a problem with SUDO. It is taking a long time to login. When I
> try to execute "sudo su -", it works, but take a long time to give me
> the prompt again
>
> Anybody knows anything about it?
>
> Thanks a lot,
>
> Regards,
>
> Carla
>
> --
>
> Carla Duclós
>
> "Essa mensagem é destinada exclusivamente ao seu destinatário e
> pode conter informações confidenciais, protegidas por sigilo
> profissional ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais
> informações é proibido e está sujeito às penalidades cabíveis.
>
> This message is intended exclusively for its addressee and may
> contain information that is confidential and protected by a
> professional privilege or whose disclosure is prohibited by law.
> Unauthorized use of such information is prohibited and subject to
> applicable penalties."
> ____________________________________________________________
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
> http://www.sudo.ws/mailman/listinfo/sudo-users
>
"Essa mensagem é destinada exclusivamente ao seu destinatário e pode
conter informações confidenciais, protegidas por sigilo profissional ou
cuja divulgação seja proibida por lei. O uso não autorizado de tais
informações é proibido e está sujeito às penalidades cabíveis.
This message is intended exclusively for its addressee and may contain
information that is confidential and protected by a professional
privilege or whose disclosure is prohibited by law. Unauthorized use of
such information is prohibited and subject to applicable penalties."
More information about the sudo-users
mailing list