Re: strange su behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Uwe (ML) Kiewel <ml@xxxxxxxxxxxxxxxx>
> >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


      
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux