[CentOS] strange su behavior

Tue Mar 9 16:32:04 UTC 2010
John Doe <jdmls at yahoo.com>

From: Uwe (ML) Kiewel <ml at kiewel-online.ch>
> >Do you have any sudo call from your /etc or /etc/skel bashrc or profile...?
> Yes, I do have in /etc/bashrc:
> sudo -l

Unless you already understood:
  su -  "make the shell a login shell"
  so sudo -l  in bashrc is executed, which asks for the user's password

JD