Date: Fri, 8 Jul 2005 10:02:35 -0400 From: Hornet <hornetmadness@gmail.com> To: Daniel Auman <dauman@pcsinconline.com> Cc: freebsd-questions@freebsd.org Subject: Re: Logging into FreeBSD Message-ID: <f42935a605070807021faa1497@mail.gmail.com> In-Reply-To: <000401c583c2$d2a32b10$0500000a@LAPTOP> References: <000401c583c2$d2a32b10$0500000a@LAPTOP>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/8/05, Daniel Auman <dauman@pcsinconline.com> 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 <mailto:khurst@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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f42935a605070807021faa1497>
