-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 10.03.2010 20:23, schrieb Tom H: >>>>>>> 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 > >> That is clear to me, but why does this command request the password? > > Do you have rootpw/runaspw/targetpw set in /etc/sudoers? No, I don't have. What I want to have is: None-root users shall be allowed to run some commands as root whithout password. And, on logging on, the users shall see, what commands they are able to run. Thanks, Uwe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLl/hNAAoJENs3frmum9swxEMIAJgDWhu63h1pYKgG5nmxnUkH hqGPt1W709j4AawHbzyiNqdYfMH3p/9YLY9VwcPS7DHFa0w/X6Vq8I4YcSsPCQc8 FMov96sKZckMTpKBc+qlK0sWXXcJcEDJLdg997WW50BTaxrUob5uy0zoAuzm3pU/ 5X9rq1XXqseU1PLBconNH3lpY1e7A1K4ueY6bXX4EWTqF4sMEEkfVP1sFwHmqVW/ K4wmERfljlLjCrCiLT51/H6LyoAYkmR4qfDxucPC1rEGcOnj3hHZk4mEnu64j7NG nE9MQ3P1SvZff+NG9spRSALJprc1fBKPkndiJFHR9Xm5GhugvsGj7DP7zXRqY2U= =Ea0A -----END PGP SIGNATURE-----