[CentOS] strange su behavior
Tom H
tomh0665 at gmail.comTue Mar 9 21:22:57 UTC 2010
- Previous message: [CentOS] strange su behavior
- Next message: [CentOS] strange su behavior
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>>>> 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 > Understood, who is asking - not understood why "sudo -l" is asking for > the password and why just hitting the enter key works sudo -l lists the commands that you are allowed to run with sudo
- Previous message: [CentOS] strange su behavior
- Next message: [CentOS] strange su behavior
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list