Re: [PATCH v2] btrfs-progs: fsck-test: Add check_sudo to check valid root/sudo privilege

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

 



On Mon, Mar 02, 2015 at 11:41:50AM +0800, Qu Wenruo wrote:
> New '_sudo' command will do credential check if needed to avoid such
> problem.
> 
> Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx>
> ---
> v2:
>   Add support for old sudo.
>   Remove 'have_root_helper' variant
>   Integrate 'check_root' into root_helper function.
> 
> Cc: David Sterba <dsterba@xxxxxxx>
> Since I can't reproduce the NOPASSWD setting with 'sudo -v -n' failure,
> so only UID==0 and need_validate==1 case, would you please test the
> need_validate==0 case? 

Works for me, thanks. I'll do some cleanups (separate patch) so the
variables are capitalized and clearly visible in the scripts.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux