Logging into FreeBSD
Hornet
hornetmadness at gmail.com
Fri Jul 8 14:02:37 GMT 2005
On 7/8/05, Daniel Auman <dauman at pcsinconline.com> wrote:
> Hi all,
>
>
>
> I'm afraid I must show my extreme ignorance. Using FreeBSD 5.4 I've created
> a log-in that starts a script I created
>
>
>
> #!/bin/sh
>
> 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.
>
>
>
> 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.
>
>
>
> Thanks a lot,
>
>
>
> Daniel Auman
> Personalized Computer Systems, Inc.
> 4486 Indian Ripple Road
> Dayton, Ohio 45440
> Phone: (937)296-7416
> Fax: (937)431-0775
> email: dauman at pcsinconline.com <mailto:khurst at PCSIncOnline.com>
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list