On 7/8/05, Daniel Auman <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to