Hi,

I just found out that this has some unwanted side effects:

        $ sudo -u root -g audio id
        [sudo] password for alexander: 
        uid=0(root) gid=29(audio) Gruppen=0(root)
        $ sudo -k
        $ sudo -g audio id
        uid=1000(alexander) gid=29(audio) Gruppen=1000(alexander),27(sudo)

Despite using `sudo -k' I don't have to enter my password the second
time. In fact, it seems like I never have to when I just change the GID.

Is this behavior the result of my *very* limited knowledge of sudo rules
or is it a bug in sudo itself?

Best regards

Alexander Kurtz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to