From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 14:02:37 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F65416A41C for ; Fri, 8 Jul 2005 14:02:37 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4317243D49 for ; Fri, 8 Jul 2005 14:02:36 +0000 (GMT) (envelope-from hornetmadness@gmail.com) Received: by rproxy.gmail.com with SMTP id 1so125401rny for ; Fri, 08 Jul 2005 07:02:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XtphJlrdms+NSQ4nGiNBXbtec6xtnqbM+QE77ACJDa1J42yYAPyYqNBmjJqzr42TzOBKTN6yyDrUCmDxqrjJe5eyE0S1fXZWcH658ibDFNjaRenGMoRhPK5qfRK2FP5OvN0z34FennhCpREmRAIBgO4tsxcywg1+49YoqdJVig8= Received: by 10.38.196.20 with SMTP id t20mr3919541rnf; Fri, 08 Jul 2005 07:02:35 -0700 (PDT) Received: by 10.38.8.44 with HTTP; Fri, 8 Jul 2005 07:02:35 -0700 (PDT) Message-ID: Date: Fri, 8 Jul 2005 10:02:35 -0400 From: Hornet To: Daniel Auman In-Reply-To: <000401c583c2$d2a32b10$0500000a@LAPTOP> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <000401c583c2$d2a32b10$0500000a@LAPTOP> Cc: freebsd-questions@freebsd.org Subject: Re: Logging into FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hornet List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 14:02:37 -0000 On 7/8/05, Daniel Auman wrote: > Hi all, >=20 >=20 >=20 > I'm afraid I must show my extreme ignorance. Using FreeBSD 5.4 I've crea= ted > a log-in that starts a script I created >=20 >=20 >=20 > #!/bin/sh >=20 > mysql -u "username" -p"password" Are you says that you have the password hardcoded into your script? If so, make sure the read premission are set that only that user can access that script. Otherwise, your leaving your self wide open. >=20 >=20 >=20 > It works fine. I get motd, then the mysql prompt. When I type the quit > command I lose my SSH connection which is great! Problem is I don't have = a > clue how to even search for security problems related to using a custom > login similar to what I've created. Can anybody point me in the right > direction(s)? I'm happy to do the reading on my own. >=20 >=20 >=20 > Thanks a lot, >=20 >=20 >=20 > Daniel Auman > Personalized Computer Systems, Inc. > 4486 Indian Ripple Road > Dayton, Ohio 45440 > Phone: (937)296-7416 > Fax: (937)431-0775 > email: dauman@pcsinconline.com >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >