OT - Re: jak nejlepe na praci s casem

Jan Friedel jf at devnull.cz
Wed Apr 22 14:44:23 CEST 2009


On Wed, Apr 22, 2009 at 02:39:31PM +0200, Daniel Gerzo wrote:
> Jan Friedel wrote:
> >On Wed, Apr 22, 2009 at 02:00:20PM +0200, Indigo wrote:
> >>Ahoj,
> >> jednak bych doporucil drobnou optimalizaci:
> >>
> >>vystup=`mysql -uroot -pheslo < EOF
> >>SELECT DATEDIFF('2009-03-09', '2011-03-09');
> >>EOF`
> >
> >	Heslo na prikazove radce - nikdy. Cim dele trva dotaz do
> >	databaze, tim vetsi je sance nechteneho odhaleni hesla ostatnimi
> >	uzivateli jen pomoci `ps -wax`.
> 
> security.bsd.see_other_uids=0
> security.bsd.see_other_gids=0

	Otazka je, jestli toto je vzdy vhodne.. 

	Ale jinak dobry hint o kterem jsem nevedel ;)


	/h.




More information about the Users-l mailing list