[CentOS] strange su behavior

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


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


      



More information about the CentOS mailing list