Re: sudo selectively execute file, * wildcard on dir set with "(ALL) NOPASSWD:".

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


On 2010-01-05 at 17:08:37 +0800, Kent Ho wrote:
> I then copy to a new file in the same directory as "".
> Now I execute "" again with sudo, now it will execute.

Read the docs.

>From the sudo man page:

-k          The -k (kill) option to sudo invalidates the user's timestamp
by setting the time on it to the Epoch.  The next time sudo is run a
password will be required.  This option does not require a password and
was added to allow a user to revoke sudo permissions from a .logout file.

To unsubscribe from this list: send the line "unsubscribe linux-apps" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at

[Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux