From owner-freebsd-questions@FreeBSD.ORG Thu Dec 26 21:02:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1619E427 for ; Thu, 26 Dec 2013 21:02:02 +0000 (UTC) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [IPv6:2607:f8b0:400c:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAFD811B8 for ; Thu, 26 Dec 2013 21:02:01 +0000 (UTC) Received: by mail-ve0-f180.google.com with SMTP id jz11so4631254veb.11 for ; Thu, 26 Dec 2013 13:02:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=H19HFqI62bFD/ELAE8Z6xHZ4u8cSSI2gHKDWE2wLkw4=; b=K50LU+P3U2ueGc0D0BKkoz/3GtkBP+J9OX4HxTwGWXf0yIrpiHFuYfu0qR/6mnNAk4 OTqcX3WX9LqyNJNbKVHlqtAo4gMlEdVBZ4/JcnDEc0VMqxWio+2TuS7en9E0Va20kaKB aZgqd8Y/aCgnAJEt5vXRsnUELEK5fWI1FmEqMgOleiPxYKZWokwdJdcl1XGVVdxtGllN NT+qepl0hDmX8To6uNdLTI+6CQZd/+g4v1s9eT7N/loNE3EH6nevdaIniJLx9NNzcP7j JxUgq7zKpb2+39pX48W115sdp54JhRQ2VoHCaPzBOm5izl80DRveDKmtNfeiwr8tNnLE eQfg== MIME-Version: 1.0 X-Received: by 10.52.191.98 with SMTP id gx2mr1740324vdc.71.1388091720889; Thu, 26 Dec 2013 13:02:00 -0800 (PST) Received: by 10.58.19.226 with HTTP; Thu, 26 Dec 2013 13:02:00 -0800 (PST) Date: Thu, 26 Dec 2013 16:02:00 -0500 Message-ID: Subject: which is better for sudo: ldap accounts or sudo auto via ssh keys? From: Aleksandr Miroslav To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Dec 2013 21:02:02 -0000 I have a bunch of servers that I'm trying to tighten down. >From a security standpoint, which would be more secure: - having users login from an ldap account and use that same password to authorize themselves to sudo - or do away with passwords entirely and have them login with ssh keys only (easy to do) and then authenticate to sudo with ssh keys (from a search, apparently this is doable). I would also like to enforce that the ssh-keys have passwords on them thanks, Alex