You are here: Re: [PHP] sessions not being stored : DAY 2 « PHP « IT news, forums, messages
Re: [PHP] sessions not being stored : DAY 2

Posted by Andy Pieters on 04/11/05 07:47

On Saturday 09 April 2005 13:13, Burhan Khalid wrote:
> Yuri Huitrón Alvarado wrote:
> > running whoami in php returns : " root "
You know you are crazy as hell running php as root don't you.

I guess you use your root account all the time.

It kinda defeats its purpose.

You should add a user account for yourself and use that in every day work.
Whenever you need to install something they willl either ask for the root
password or you go su -c 'make install'

Your php should run as a normal user as well.

Don't be surprised if tomorrow you find your harddisk wiped out by an
intruder. You're asking for it.

Try running 'last' and see if your system hasn't been compromised already

Andy
--
Registered Linux User Number 379093
-- ---BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT/O/CM d- s:+ a- C++++ UL++++ P+ L+++ E--- W+++ N++ o+ K w--- O+++ M- V
PS+ PE++ Y+ PGP+++ t+ 5-- X R !tv b DI+++ D++ G e-- h+ r--- y+
-- ---END GEEK CODE BLOCK------

Check out these few php utilities that I released
under the GPL2 and that are meant for use with a
php cli binary:

http://www.vlaamse-kern.com/sas/
--

--

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация