3 reputation
3
bio website ashajjar85.wordpress.com
location Beirut, Lebanon
age 29
visits member for 2 years, 9 months
seen Jul 23 at 10:09

My name is Ahmad Hajjar, I have been developing software for a while now, and until now I still feel like a child when I experience a new awesome technology, and every time I solve a challenge I feel like I've got a new baby (even I don't have children :D ) programming for me is a passion. I am always eager to learn new stuff and to contribute in new projects.

Throughout my work, I have had the opportunity to hone my skills, in programming languages most importantly Java and PHP, Web technologies (HTML, CSS, JS, ...), Linux, and more tools and technologies, and there was a lot of time to practice my favourite hobby (Debugging and troubleshooting :D ).

If you want to contact me ash852006@gmail.com

My blog


Aug
31
awarded  Excavator
Aug
31
revised High load on a nagios server — How many service checks for a nagios server is too many?
corrected spelling
Aug
31
suggested approved edit on High load on a nagios server — How many service checks for a nagios server is too many?
Apr
12
comment Restarting Nagios Using PHP
@Keith how to do this reload ?? I mean in PHP ??
Apr
11
comment Restarting Nagios Using PHP
I added this line : apache ALL=NOPASSWD: /sbin/service
Apr
10
comment Restarting Nagios Using PHP
yes it is ... when I execute whoami in shell_exec in PHP it gives me apache
Apr
10
comment Restarting Nagios Using PHP
echo shell_exec('sudo service nagios restart'); is not printing anything as well :(
Apr
10
comment Restarting Nagios Using PHP
I did that and nothing changed ... when I execute this command in PHP echo shell_exec('echo "nagiosxi" | sudo -S service nagios restart'); it echos nothing
Apr
10
comment Restarting Nagios Using PHP
when I try to execute this command su apache it gives me : this account is currently not available
Apr
10
comment Restarting Nagios Using PHP
Running configuration check...done. Stopping nagios: .done. Starting nagios: done
Apr
10
comment Restarting Nagios Using PHP
@lain it returns what should be returned as if I'm restarting manually :S
Apr
10
awarded  Editor
Apr
10
revised Restarting Nagios Using PHP
deleted 2 characters in body
Apr
10
asked Restarting Nagios Using PHP
Mar
16
comment NRPE unable to read output, but why?
@Bart De Vos but the answer you added will make a security hole > adding something to the sudoers file open you up for a potential security risk. i.e. if via a buffer overflow someone is able to drop a file with the same name in the same location, they could execute it without knowing the root password and gain control of the box :S Is there no way to somehow put a signature (SHA1 or MD5) of the application in the sudoers file to prevent that type of attack. i.e. the injected file won't have the same signature and thus doesn't execute. [Read the first comment here](crashatau.blogspot.co
Mar
8
awarded  Autobiographer