[root@web ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/tmp /tmp ext3 noexec,nosuid,nodev,rw 0 0
LABEL=/var /var ext3 defaults 1 2
LABEL=/var/www/html /var/www/html ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults,nosuid,noexec,rw 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
Wednesday, September 9, 2009
Security Hints for PHP/MySQL Applications
Security Hints for PHP/MySQL Applications
Apache Server Security
This page provides some geneal hints for Apache servers running PHP applications. I recommend to consider them for ConfTool installations and they are probably useful for most other productive environments with PHP and MySQL.
Access to Backup Files
It is advisable to block access to all backup files. If these are for instance PHP files, they are usually not executed and may reveal parameters like the password for your mysql database.
To block the access to backup files with the extensions "bak", "BAK" and "~" use the following lines in your httpd.conf file:
order deny,allow
deny from all
Example:
# For Conftool you need none of the options directive, if you do not
# use the .htaccess file, but make the conftool settings in php.ini
options none
# Controls who can get stuff from this server.
order deny,allow
allow from all
# Prevent access to backup files!
order deny,allow
deny from all
http://www.zdziarski.com/projects/mod_evasive/
MySql Database Security
Limit Network Access
If not required, block network access to the mysql database server from other hosts.
One way to limit any network access to your MySQL server is adding the parameter
skip-networking
to your mysql configuration file "my.cnf" (usually in /etc/ or C:/Windows/). Applications now have to use a socket file to access the MySQL deamon.
If disabling network access causes compatibility issues with some of your applications, you may also use
bind-address = 127.0.0.1
to limit access to localhost only.
Update Default Root User
Many distributions install a "root" MySQL user without any password. Make sure to set a password for the "root" user after a new server installation.
From the command line call
mysql mysql -u root
In the mysql client you have to enter two commands:
UPDATE user SET Password=PASSWORD('myNewPassword') WHERE user='root';
flush privileges;
The second command reads the new password into the mysql server.
Alternatively you can also use the "mysqladmin tool"
mysqladmin -u root password
You will be prompted for the password.
If you get the error message
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'a'localhost' (using password: NO)'
a password for the user root is already set.
PHP Security Settings
PHP is not an "unsave" programming language, but there are some PHP settings that are recommended to reduce the vulnerability of most PHP installations. They are set in your php.ini file, some can also be set in the apache configuration file or your local .htaccess file. Please consider that other PHP scripts on your server might have problems with the settings recommended here.
DISABLE_FUNCTIONS
Some PHP functions can make your system vulnerable, as they provide access to system ressources, parameters or files.
Such are:
show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, proc_nice
Conftool makes use of two of these functions:
* "exec" is used on windows systems to check if the domain name of an email address exists. All parameters are sanitized before the function call. (The function is also used in some custom ConfTool libraries to access credit card gateways.)
* "popen" is used in the "phpmailer" library to send emails. You can alternatively use the build-in php function to send mails, but it is less powerful.
Therefore if you use one of the features above, you should only disable the following functions in the file "php.ini":
disable_functions = show_source, system, shell_exec, passthru, phpinfo, proc_open, proc_nice
REGISTER_GLOBALS
The switch
register_globals = Off
should always be set, as otherwise all http get and post variables are directly accessible as global variables in the PHP application. This is a potential security problem for any PHP application. I recommend not to use any PHP application that requires "register_globals" to be on.
ALLOW_URL_FOPEN
allow_url_fopen = Off
This should be set for most servers. It prevents that scripts can load php code from other web servers, a potential security issue.
allow_url_include = Off
Since PHP 5.2 the setting allow_url_include allows to disable remote addresses for the commands "include" and "require" only. So if some of your scripts require allow_url_fopen, the above settings might be an alternative.
DISPLAY_ERRORS
display_errors = Off
This setting will turn off the output of PHP error messages to your users and possible attackers. It should always be set to "off" in a productive environment. You can (and should) still log (and analyze) errors in the server's error_log by setting:
log_errors = On
OPEN_BASEDIR
Syntax: open_basedir = "/path/to/conftool"
Limits the execution of php files on your Web server. Files outside the
given path(s) are not executed. It is always recommended to use it and to restrict php to those directories where known applications reside.
Example for Windows:
open_basedir = "D:/www/conftool/;C:/Program Files/Apache Group/Apache/htdocs/"
Unix/Linux example:
open_basedir = "/home/conftool/:/srv/www/"
SAFE_MODE
safe_mode = On/Off
Safe Mode restricts the access of php scripts on your web server. It is currently not recommended to use it with ConfTool as e.g. timeouts cannot be set and the access to uploaded files is limited. ConfTool does somehow work with safe mode, but there are many potential problems (e.g. with bulk mails).
Hardened-PHP Project
The Hardened-PHP project provides two patches / extensions for PHP that can improve the security of all PHP installations:
* The hardening patch adds security hardening features to the PHP core to protect servers against a number of well known problems in PHP applications and against potential unknown vulnerabilities.
* Suhosin is an extension for PHP to protect servers and users from known and unknown flaws in PHP applications and the PHP core by adding new security filters and PHP security settings.
Both patches work well with ConfTool. I recommend the Suhosin extension for any productive environment running PHP applications.
Conclusion
Security is not a state but a process. As PHP any MySQL are very popular systems, always keep track of recent developments and update your server settings. If you find any potential problems in ConfTool, please contact me immediately.
Reference: http://www.conftool.net/en/technical_documentation/security_hints.html
Apache Server Security
This page provides some geneal hints for Apache servers running PHP applications. I recommend to consider them for ConfTool installations and they are probably useful for most other productive environments with PHP and MySQL.
Access to Backup Files
It is advisable to block access to all backup files. If these are for instance PHP files, they are usually not executed and may reveal parameters like the password for your mysql database.
To block the access to backup files with the extensions "bak", "BAK" and "~" use the following lines in your httpd.conf file:
order deny,allow
deny from all
Example:
# For Conftool you need none of the options directive, if you do not
# use the .htaccess file, but make the conftool settings in php.ini
options none
# Controls who can get stuff from this server.
order deny,allow
allow from all
# Prevent access to backup files!
order deny,allow
deny from all
http://www.zdziarski.com/projects/mod_evasive/
MySql Database Security
Limit Network Access
If not required, block network access to the mysql database server from other hosts.
One way to limit any network access to your MySQL server is adding the parameter
skip-networking
to your mysql configuration file "my.cnf" (usually in /etc/ or C:/Windows/). Applications now have to use a socket file to access the MySQL deamon.
If disabling network access causes compatibility issues with some of your applications, you may also use
bind-address = 127.0.0.1
to limit access to localhost only.
Update Default Root User
Many distributions install a "root" MySQL user without any password. Make sure to set a password for the "root" user after a new server installation.
From the command line call
mysql mysql -u root
In the mysql client you have to enter two commands:
UPDATE user SET Password=PASSWORD('myNewPassword') WHERE user='root';
flush privileges;
The second command reads the new password into the mysql server.
Alternatively you can also use the "mysqladmin tool"
mysqladmin -u root password
You will be prompted for the password.
If you get the error message
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'a'localhost' (using password: NO)'
a password for the user root is already set.
PHP Security Settings
PHP is not an "unsave" programming language, but there are some PHP settings that are recommended to reduce the vulnerability of most PHP installations. They are set in your php.ini file, some can also be set in the apache configuration file or your local .htaccess file. Please consider that other PHP scripts on your server might have problems with the settings recommended here.
DISABLE_FUNCTIONS
Some PHP functions can make your system vulnerable, as they provide access to system ressources, parameters or files.
Such are:
show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open, proc_nice
Conftool makes use of two of these functions:
* "exec" is used on windows systems to check if the domain name of an email address exists. All parameters are sanitized before the function call. (The function is also used in some custom ConfTool libraries to access credit card gateways.)
* "popen" is used in the "phpmailer" library to send emails. You can alternatively use the build-in php function to send mails, but it is less powerful.
Therefore if you use one of the features above, you should only disable the following functions in the file "php.ini":
disable_functions = show_source, system, shell_exec, passthru, phpinfo, proc_open, proc_nice
REGISTER_GLOBALS
The switch
register_globals = Off
should always be set, as otherwise all http get and post variables are directly accessible as global variables in the PHP application. This is a potential security problem for any PHP application. I recommend not to use any PHP application that requires "register_globals" to be on.
ALLOW_URL_FOPEN
allow_url_fopen = Off
This should be set for most servers. It prevents that scripts can load php code from other web servers, a potential security issue.
allow_url_include = Off
Since PHP 5.2 the setting allow_url_include allows to disable remote addresses for the commands "include" and "require" only. So if some of your scripts require allow_url_fopen, the above settings might be an alternative.
DISPLAY_ERRORS
display_errors = Off
This setting will turn off the output of PHP error messages to your users and possible attackers. It should always be set to "off" in a productive environment. You can (and should) still log (and analyze) errors in the server's error_log by setting:
log_errors = On
OPEN_BASEDIR
Syntax: open_basedir = "/path/to/conftool"
Limits the execution of php files on your Web server. Files outside the
given path(s) are not executed. It is always recommended to use it and to restrict php to those directories where known applications reside.
Example for Windows:
open_basedir = "D:/www/conftool/;C:/Program Files/Apache Group/Apache/htdocs/"
Unix/Linux example:
open_basedir = "/home/conftool/:/srv/www/"
SAFE_MODE
safe_mode = On/Off
Safe Mode restricts the access of php scripts on your web server. It is currently not recommended to use it with ConfTool as e.g. timeouts cannot be set and the access to uploaded files is limited. ConfTool does somehow work with safe mode, but there are many potential problems (e.g. with bulk mails).
Hardened-PHP Project
The Hardened-PHP project provides two patches / extensions for PHP that can improve the security of all PHP installations:
* The hardening patch adds security hardening features to the PHP core to protect servers against a number of well known problems in PHP applications and against potential unknown vulnerabilities.
* Suhosin is an extension for PHP to protect servers and users from known and unknown flaws in PHP applications and the PHP core by adding new security filters and PHP security settings.
Both patches work well with ConfTool. I recommend the Suhosin extension for any productive environment running PHP applications.
Conclusion
Security is not a state but a process. As PHP any MySQL are very popular systems, always keep track of recent developments and update your server settings. If you find any potential problems in ConfTool, please contact me immediately.
Reference: http://www.conftool.net/en/technical_documentation/security_hints.html
Steps to Tighten PHP Security
Recently I have had to deal with some insecure PHP scripts on a couple of servers that have caused us some serious problems, as well as time, to recover from.
I am going to list some of the important steps you can take to protect your server and your site from insecure PHP applications. This will by no means a complete list of items to stop them, but this should help prevent most of the basic attacks ("script kiddie" attacks - where the attacker doesn't have a great deal of skill and is depending on a preset scenario).
Most of these solutions will assume you have some level of control (root) over the server.
* Turn off allow_url_fopen: This modification will prevent the use of http://www.domain.com/somescript.php and ftp://www.domain.com/somescript.php from being used in include(), include_once(), require(), require_once(), as well as fopen(). This will prevent a hacker from including malicious code remotely. This modification will prevent the vast majority of hack attempts in PHP from working.
The downside of this modification is that some legitmate applications that use fopen() to open a remote web page might be broken. You can encourage users to use the PHP curl functions instead as they accomplish the same results.
Edit your php.ini and change allow_url_fopen = On to allow_url_fopen = Off and restart your web server.
* Use open_basedir: open_basedir allows you to dictate which paths PHP is allowed to access for a given site. Generally we set this to the path of the website (/var/www/html), /tmp (for writting session data as well as for file uploads), and the path to the PEAR repository.
The good thing about open_basedir is that it is default deny, meaning if you don't specify the path in the open_basedir it is blocked.
The bad part about open_basedir is that it come sometimes block access to legitmate applications needed by your PHP applications (Gallery is one that comes to mind, as it makes use of some external applications in /usr/bin, so you must open access to that location).
Generally, you should use this directive for every website you host as it allows you to control which directories PHP can access and you can make sure that those directories have the correct permissions to prevent potential exploitation.
* Mount /tmp noexec, nosuid and nodev: This one is particularly useful as it allows you to tell the operating system not to run any applications in a given area of the hard drive. I can tell you personally that this one as saved me numerous times. When used in combintation with the open_basedir directive you can effectively limit what the hackers have access to, and what they are able to run.
If you have a seperate /tmp partition on your hard drive you can edit the /etc/fstab file and change the options for the /tmp line.
/dev/hda3 /tmp ext3 noexec,nosuid,nodev 0 0
If you don't have a seperate /tmp partition you can create one as a loopback filesystem and mount that as noexec. I will make a seperate post on how to do this later.
* Mount your web space noexec: This might not be possible, but is a great option just like mounting /tmp in noexec. The reason for this is to prevent binary applications from being uploaded and executed in your webspace. Like I said this might not be possible, but is an excellent prevention method to prevent local root exploit binaries (where a binary exploits a problem in the kernel to gain escallated priviledges on the server, the /proc race in the 2.6 kernel is a recent example of this type of exploit).
* Make sure your permissions are correct: You should not allow world write permissions on any files, other than those required (configuration files that are written by the web server, etc). This is very important as it will save you a great deal of trouble in the event that a hacker does gain access to your site, as they won't be able to overwrite your files. Additionally, you should only allow write access to specific folders where needed.
* Prevent PHP from parsing scripts in world writtable directories: This will prevent hackers from uploading malicious scripts and running them from your site. This is a great way to tighten security, and is pretty easy to manage, just set "php_admin_flag engine off" for any directory that can be written to by the web server user. This one will save you more hassle than you can ever imagine.
* Install mod_security: Mod Security is basically a web server firewall, allowing you to block specific types of requests, as well as inspect data as it is sent to the server. My only problem with mod_security is that it isn't default deny, which means you must identify what is blocked, rather than identifying what is allowed and rejecting everything else. Still it has its uses and you should have it installed in order to react to problems that do not have patches available yet.
We hope that this list of items will help protect your server from hackers and allow you to have some peace of mind that your sites are as secure as you can make them.
Reference: http://www.hostinggeek.com/2006/07/steps-to-tighten-php-security.html
I am going to list some of the important steps you can take to protect your server and your site from insecure PHP applications. This will by no means a complete list of items to stop them, but this should help prevent most of the basic attacks ("script kiddie" attacks - where the attacker doesn't have a great deal of skill and is depending on a preset scenario).
Most of these solutions will assume you have some level of control (root) over the server.
* Turn off allow_url_fopen: This modification will prevent the use of http://www.domain.com/somescript.php and ftp://www.domain.com/somescript.php from being used in include(), include_once(), require(), require_once(), as well as fopen(). This will prevent a hacker from including malicious code remotely. This modification will prevent the vast majority of hack attempts in PHP from working.
The downside of this modification is that some legitmate applications that use fopen() to open a remote web page might be broken. You can encourage users to use the PHP curl functions instead as they accomplish the same results.
Edit your php.ini and change allow_url_fopen = On to allow_url_fopen = Off and restart your web server.
* Use open_basedir: open_basedir allows you to dictate which paths PHP is allowed to access for a given site. Generally we set this to the path of the website (/var/www/html), /tmp (for writting session data as well as for file uploads), and the path to the PEAR repository.
The good thing about open_basedir is that it is default deny, meaning if you don't specify the path in the open_basedir it is blocked.
The bad part about open_basedir is that it come sometimes block access to legitmate applications needed by your PHP applications (Gallery is one that comes to mind, as it makes use of some external applications in /usr/bin, so you must open access to that location).
Generally, you should use this directive for every website you host as it allows you to control which directories PHP can access and you can make sure that those directories have the correct permissions to prevent potential exploitation.
* Mount /tmp noexec, nosuid and nodev: This one is particularly useful as it allows you to tell the operating system not to run any applications in a given area of the hard drive. I can tell you personally that this one as saved me numerous times. When used in combintation with the open_basedir directive you can effectively limit what the hackers have access to, and what they are able to run.
If you have a seperate /tmp partition on your hard drive you can edit the /etc/fstab file and change the options for the /tmp line.
/dev/hda3 /tmp ext3 noexec,nosuid,nodev 0 0
If you don't have a seperate /tmp partition you can create one as a loopback filesystem and mount that as noexec. I will make a seperate post on how to do this later.
* Mount your web space noexec: This might not be possible, but is a great option just like mounting /tmp in noexec. The reason for this is to prevent binary applications from being uploaded and executed in your webspace. Like I said this might not be possible, but is an excellent prevention method to prevent local root exploit binaries (where a binary exploits a problem in the kernel to gain escallated priviledges on the server, the /proc race in the 2.6 kernel is a recent example of this type of exploit).
* Make sure your permissions are correct: You should not allow world write permissions on any files, other than those required (configuration files that are written by the web server, etc). This is very important as it will save you a great deal of trouble in the event that a hacker does gain access to your site, as they won't be able to overwrite your files. Additionally, you should only allow write access to specific folders where needed.
* Prevent PHP from parsing scripts in world writtable directories: This will prevent hackers from uploading malicious scripts and running them from your site. This is a great way to tighten security, and is pretty easy to manage, just set "php_admin_flag engine off" for any directory that can be written to by the web server user. This one will save you more hassle than you can ever imagine.
* Install mod_security: Mod Security is basically a web server firewall, allowing you to block specific types of requests, as well as inspect data as it is sent to the server. My only problem with mod_security is that it isn't default deny, which means you must identify what is blocked, rather than identifying what is allowed and rejecting everything else. Still it has its uses and you should have it installed in order to react to problems that do not have patches available yet.
We hope that this list of items will help protect your server from hackers and allow you to have some peace of mind that your sites are as secure as you can make them.
Reference: http://www.hostinggeek.com/2006/07/steps-to-tighten-php-security.html
rsync
Category:
rsync
— SkyHi @ Wednesday, September 09, 2009
#!/bin/sh
backupSystemName=backupserver
backupSystemUser=backupuser
# rsync
echo "[backup/thedump] $HOSTNAME - `date` " > /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /etc" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /etc $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /home" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /home $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /usr/local" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z --exclude apache/logs/ /usr/local $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /root" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /root $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /var" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z --exclude /var/mail/ --exclude /var/log/ --exclude /var/spool/ /var $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "complete." >> /tmpdirectory/.output
mail -s "[backup/thedump] $HOSTNAME - `date`" sysadmin@server < /tmpdirectory/.output
backupSystemName=backupserver
backupSystemUser=backupuser
# rsync
echo "[backup/thedump] $HOSTNAME - `date` " > /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /etc" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /etc $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /home" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /home $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /usr/local" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z --exclude apache/logs/ /usr/local $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /root" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z /root $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "directory: /var" >> /tmpdirectory/.output
rsync -v -r -u -L --bwlimit=200 --delete --delete-excluded -e ssh -z --exclude /var/mail/ --exclude /var/log/ --exclude /var/spool/ /var $backupSystemUser@$backupSystemName:/backupdirectory/$HOSTNAME >> /tmpdirectory/.output
echo "------------------------------------" >> /tmpdirectory/.output
echo "complete." >> /tmpdirectory/.output
mail -s "[backup/thedump] $HOSTNAME - `date`" sysadmin@server < /tmpdirectory/.output
sendmail removes email more than n days old.
A variation that removes email more than n days old.
find /var/spool/mqueue/ -type f -mtime +n -ls -exec rm {} \;
and
find /var/spool/mqueue.in/ -type f -mtime +n -ls -exec rm {} \;
I used n=1 to cleanup all email from mqueue more than 1 day old
find /var/spool/mqueue/ -type f -mtime +1 -ls -exec rm {} \;
As most spam is undeliverable so the server attempts to send for 5 days
Note: if you have a large mqueue it will take a while to complete.
[root@pot mqueue]# date
Wed Sep 9 10:46:37 PDT 2009
[root@pot mqueue]# ls -l|wc -l
1716
[root@pot mqueue]# find /var/spool/mqueue -mtime 1 -exec ls -l {} \;
-rw------- 1 root smmsp 873 2009-09-07 18:29 /var/spool/mqueue/Qfn832XASB009701
-rw------- 1 root smmsp 893 2009-09-07 20:59 /var/spool/mqueue/Qfn8349F0c024789
-rw------- 1 root smmsp 818 2009-09-08 01:59 /var/spool/mqueue/Qfn888xRKm015663
-rw------- 1 root smmsp 933 2009-09-08 04:28 /var/spool/mqueue/Qfn83BbnJF025245
-rw------- 1 root smmsp 809 2009-09-08 07:46 /var/spool/mqueue/Qfn88EkLUe013813
-rw------- 1 root smmsp 937 2009-09-07 13:29 /var/spool/mqueue/Qfn82LiDjA012825
-rw------- 1 root smmsp 870 2009-09-07 11:23 /var/spool/mqueue/Qfn858pwHv003138
-rw------- 1 root smmsp 984 2009-09-07 11:23 /var/spool/mqueue/Qfn861BimA005433
-rw------- 1 root smmsp 2222 2009-09-07 14:50 /var/spool/mqueue/dfn87Lo7mZ029723
-rw------- 1 root smmsp 830 2009-09-07 14:50 /var/spool/mqueue/Qfn87Lo7mZ029723
-rw------- 1 root smmsp 1665 2009-09-07 15:30 /var/spool/mqueue/dfn87MUHmO005276
-rw------- 1 root smmsp 9564 2009-09-07 10:58 /var/spool/mqueue/dfn87Hw8Ej016301
-rw------- 1 root smmsp 732 2009-09-07 10:58 /var/spool/mqueue/Qfn87Hw8Ej016301
-rw------- 1 root smmsp 1653 2009-09-07 11:22 /var/spool/mqueue/dfn87IMh8R021199
-rw------- 1 root smmsp 3177 2009-09-07 15:50 /var/spool/mqueue/dfn87MoI4n009310
-rw------- 1 root smmsp 1653 2009-09-07 18:36 /var/spool/mqueue/dfn881aqeR003540
-rw------- 1 root smmsp 1670 2009-09-07 20:08 /var/spool/mqueue/dfn88382Jl020169
-rw------- 1 root smmsp 4792 2009-09-08 07:46 /var/spool/mqueue/dfn88Ek3Ue013727
-rw------- 1 root smmsp 16354 2009-09-07 22:02 /var/spool/mqueue/dfn8852USc007108
-rw------- 1 root smmsp 785 2009-09-07 22:02 /var/spool/mqueue/Qfn8852USc007108
-rw------- 1 root smmsp 7008 2009-09-08 00:07 /var/spool/mqueue/dfn8877e7t028972
-rw------- 1 root smmsp 818 2009-09-08 00:07 /var/spool/mqueue/Qfn8877e7t028972
-rw------- 1 root smmsp 9787 2009-09-08 00:45 /var/spool/mqueue/dfn887jSWh003020
-rw------- 1 root smmsp 851 2009-09-08 00:45 /var/spool/mqueue/Qfn887jSWh003020
-rw------- 1 root smmsp 6983 2009-09-08 00:07 /var/spool/mqueue/dfn8877g1h028979
-rw------- 1 root smmsp 830 2009-09-08 00:07 /var/spool/mqueue/Qfn8877g1h028979
-rw------- 1 root smmsp 1663 2009-09-08 01:16 /var/spool/mqueue/dfn888Gkuf008249
-rw------- 1 root smmsp 3474 2009-09-08 01:45 /var/spool/mqueue/dfn888jgGs013304
-rw------- 1 root smmsp 836 2009-09-08 01:45 /var/spool/mqueue/Qfn888jgGs013304
-rw------- 1 root smmsp 3984 2009-09-08 01:59 /var/spool/mqueue/dfn888xRKm015653
-rw------- 1 root smmsp 3716 2009-09-08 01:59 /var/spool/mqueue/dfn888xYKm015698
-rw------- 1 root smmsp 7812 2009-09-08 02:07 /var/spool/mqueue/dfn8897rqS016976
-rw------- 1 root smmsp 3542 2009-09-08 01:59 /var/spool/mqueue/dfn888xRKm015663
-rw------- 1 root smmsp 851 2009-09-08 01:59 /var/spool/mqueue/Qfn888xRKm015653
-rw------- 1 root smmsp 812 2009-09-08 02:07 /var/spool/mqueue/Qfn8897rqS016976
-rw------- 1 root smmsp 8247 2009-09-08 02:07 /var/spool/mqueue/dfn8897tqS016999
-rw------- 1 root smmsp 4591 2009-09-08 02:22 /var/spool/mqueue/dfn889MgNG019595
-rw------- 1 root smmsp 815 2009-09-08 02:22 /var/spool/mqueue/Qfn889MgNG019595
-rw------- 1 root smmsp 824 2009-09-08 02:07 /var/spool/mqueue/Qfn8897tqS016999
-rw------- 1 root smmsp 7769 2009-09-08 08:57 /var/spool/mqueue/dfn88FvSiD031304
-rw------- 1 root smmsp 3873 2009-09-08 06:19 /var/spool/mqueue/dfn88DJPqq028889
-rw------- 1 root smmsp 812 2009-09-08 01:59 /var/spool/mqueue/Qfn888xYKm015698
-rw------- 1 root smmsp 815 2009-09-08 06:19 /var/spool/mqueue/Qfn88DJPqq028889
-rw------- 1 root smmsp 3501 2009-09-08 07:25 /var/spool/mqueue/dfn88EP0sp008882
-rw------- 1 root smmsp 777 2009-09-08 07:25 /var/spool/mqueue/Qfn88EP0sp008882
-rw------- 1 root smmsp 3467 2009-09-08 06:54 /var/spool/mqueue/dfn88DsOFx003182
-rw------- 1 root smmsp 818 2009-09-08 06:54 /var/spool/mqueue/Qfn88DsOFx003182
-rw------- 1 root smmsp 3618 2009-09-08 07:45 /var/spool/mqueue/dfn88EjhUe013582
-rw------- 1 root smmsp 806 2009-09-08 07:45 /var/spool/mqueue/Qfn88EjhUe013582
-rw------- 1 root smmsp 1666 2009-09-08 07:45 /var/spool/mqueue/dfn88Ejogt013624
-rw------- 1 root smmsp 785 2009-09-08 08:57 /var/spool/mqueue/Qfn88FvSiD031304
-rw------- 1 root smmsp 1683 2009-09-08 09:31 /var/spool/mqueue/dfn88GVP9J009581
-rw------- 1 root smmsp 3995 2009-09-08 07:46 /var/spool/mqueue/dfn88EkLUe013813
-rw------- 1 root smmsp 1664 2009-09-08 10:19 /var/spool/mqueue/dfn88HJMx9025290
find: /var/spool/mqueue/dfn89Hhmj5024236: No such file or directory
find: /var/spool/mqueue/qfn89Hhmj5024236: No such file or directory
[root@potato2 mqueue]# find /var/spool/mqueue -mtime +1 -exec ls -l {} \;
-rw------- 1 root smmsp 981 2009-08-04 23:27 /var/spool/mqueue/Qfn7557tel017436
-rw------- 1 root smmsp 943 2009-08-05 16:09 /var/spool/mqueue/Qfn751vt5W018935
-rw------- 1 root smmsp 820 2009-08-13 00:01 /var/spool/mqueue/Qfn7D71AQj012496
-rw------- 1 root smmsp 4565 2009-08-04 17:14 /var/spool/mqueue/dfn750EUYk001563
-rw------- 1 root smmsp 803 2009-08-04 17:14 /var/spool/mqueue/Qfn750EUYk001563
-rw------- 1 root smmsp 4266 2009-08-04 17:14 /var/spool/mqueue/dfn750Ev1O001681
-rw------- 1 root smmsp 794 2009-08-04 17:14 /var/spool/mqueue/Qfn750Ev1O001681
-rw------- 1 root smmsp 5743 2009-08-04 19:37 /var/spool/mqueue/dfn752bMId025193
-rw------- 1 root smmsp 10236 2009-08-11 10:12 /var/spool/mqueue/dfn7BHCXbn002060
-rw------- 1 root smmsp 3001 2009-08-04 18:57 /var/spool/mqueue/dfn751vt5W018935
-rw------- 1 root smmsp 859 2009-08-04 19:37 /var/spool/mqueue/Qfn752bMId025193
-rw------- 1 root smmsp 3523 2009-08-04 19:01 /var/spool/mqueue/dfn7521JSZ019537
-rw------- 1 root smmsp 904 2009-08-04 19:01 /var/spool/mqueue/Qfn7521JSZ019537
-rw------- 1 root smmsp 2149 2009-08-04 19:03 /var/spool/mqueue/dfn7523Y0p019929
-rw------- 1 root smmsp 860 2009-08-04 19:03 /var/spool/mqueue/Qfn7523Y0p019929
-rw------- 1 root smmsp 22144 2009-08-04 21:40 /var/spool/mqueue/dfn754eTXQ011566
-rw------- 1 root smmsp 2136 2009-08-04 21:41 /var/spool/mqueue/dfn754fflQ011761
-rw------- 1 root smmsp 860 2009-08-04 21:40 /var/spool/mqueue/Qfn754eTXQ011566
-rw------- 1 root smmsp 863 2009-08-04 21:41 /var/spool/mqueue/Qfn754fflQ011761
-rw------- 1 root smmsp 2173 2009-08-04 22:07 /var/spool/mqueue/dfn7557tel017436
-rw------- 1 root smmsp 973 2009-08-13 20:35 /var/spool/mqueue/Qfn7E3ZjFq007772
-rw------- 1 root smmsp 4827 2009-08-04 22:17 /var/spool/mqueue/dfn755HwxU019673
-rw------- 1 root smmsp 4911 2009-08-04 22:12 /var/spool/mqueue/dfn755Cuok018520
-rw------- 1 root smmsp 732 2009-08-04 22:12 /var/spool/mqueue/Qfn755Cuok018520
-rw------- 1 root smmsp 785 2009-08-04 22:17 /var/spool/mqueue/Qfn755HwxU019673
-rw------- 1 root smmsp 3150 2009-08-05 01:55 /var/spool/mqueue/dfn758tsAi024080
-rw------- 1 root smmsp 827 2009-08-05 01:55 /var/spool/mqueue/Qfn758tsAi024080
-rw------- 1 root smmsp 2051 2009-08-04 22:35 /var/spool/mqueue/dfn755Z2r4022991
-rw------- 1 root smmsp 830 2009-08-04 22:35 /var/spool/mqueue/Qfn755Z2r4022991
-rw------- 1 root smmsp 2094 2009-08-04 23:01 /var/spool/mqueue/dfn7561pjf028315
-rw------- 1 root smmsp 2109 2009-08-04 23:01 /var/spool/mqueue/dfn7561b7M028259
-rw------- 1 root smmsp 848 2009-08-04 23:01 /var/spool/mqueue/Qfn7561pjf028315
-rw------- 1 root smmsp 803 2009-08-05 06:07 /var/spool/mqueue/Qfn75D7F19029513
-rw------- 1 root smmsp 2568 2009-08-05 09:02 /var/spool/mqueue/dfn75G2v2X002907
-rw------- 1 root smmsp 958 2009-08-10 10:16 /var/spool/mqueue/Qfn7A8S3Xo003423
-rw------- 1 root smmsp 17403 2009-08-05 08:07 /var/spool/mqueue/dfn75F7t6s019730
-rw------- 1 root smmsp 924 2009-08-10 07:49 /var/spool/mqueue/Qfn75F7t6s019730
-rw------- 1 root smmsp 1930 2009-08-05 08:21 /var/spool/mqueue/dfn75FL5xi023450
-rw------- 1 root smmsp 854 2009-08-05 09:02 /var/spool/mqueue/Qfn75G2v2X002907
-rw------- 1 root smmsp 3577 2009-08-05 08:55 /var/spool/mqueue/dfn75FtwZj000752
-rw------- 1 root smmsp 8141 2009-08-05 13:13 /var/spool/mqueue/dfn75KDlPc011102
-rw------- 1 root smmsp 791 2009-08-05 08:55 /var/spool/mqueue/Qfn75FtwZj000752
-rw------- 1 root smmsp 2243 2009-08-05 19:09 /var/spool/mqueue/dfn7629hfh026532
-rw------- 1 root smmsp 2084 2009-08-05 11:17 /var/spool/mqueue/dfn75IHdt1010309
-rw------- 1 root smmsp 833 2009-08-05 11:17 /var/spool/mqueue/Qfn75IHdt1010309
-rw------- 1 root smmsp 2128 2009-08-05 12:02 /var/spool/mqueue/dfn75J2T20024763
-rw------- 1 root smmsp 872 2009-08-05 12:02 /var/spool/mqueue/Qfn75J2T20024763
-rw------- 1 root smmsp 821 2009-08-05 18:04 /var/spool/mqueue/Qfn7614DQO014537
-rw------- 1 root smmsp 788 2009-08-05 13:13 /var/spool/mqueue/Qfn75KDlPc011102
-rw------- 1 root smmsp 8266 2009-08-05 14:21 /var/spool/mqueue/dfn75LLhKr028312
-rw------- 1 root smmsp 857 2009-08-05 14:21 /var/spool/mqueue/Qfn75LLhKr028312
-rw------- 1 root smmsp 2186 2009-08-05 17:27 /var/spool/mqueue/dfn760RLAJ008509
-rw------- 1 root smmsp 3505 2009-08-05 15:03 /var/spool/mqueue/dfn75M3kQw006940
-rw------- 1 root smmsp 777 2009-08-05 15:03 /var/spool/mqueue/Qfn75M3kQw006940
-rw------- 1 root smmsp 3500 2009-08-05 16:47 /var/spool/mqueue/dfn75Nl6SG000420
-rw------- 1 root smmsp 777 2009-08-05 16:47 /var/spool/mqueue/Qfn75Nl6SG000420
-rw------- 1 root smmsp 8616 2009-08-05 17:00 /var/spool/mqueue/dfn7600KHn003339
-rw------- 1 root smmsp 839 2009-08-05 19:11 /var/spool/mqueue/Qfn762BFV3026813
-rw------- 1 root smmsp 2280 2009-08-05 19:31 /var/spool/mqueue/dfn762VNgU030867
-rw------- 1 root smmsp 866 2009-08-05 19:31 /var/spool/mqueue/Qfn762VNgU030867
-rw------- 1 root smmsp 842 2009-08-06 12:07 /var/spool/mqueue/Qfn76J7n6o019428
-rw------- 1 root smmsp 1980 2009-08-06 14:58 /var/spool/mqueue/dfn76Lw9cb004047
-rw------- 1 root smmsp 20170 2009-08-06 11:05 /var/spool/mqueue/dfn76I5jH3002154
-rw------- 1 root smmsp 791 2009-08-06 11:05 /var/spool/mqueue/Qfn76I5jH3002154
-rw------- 1 root smmsp 4892 2009-08-06 12:01 /var/spool/mqueue/dfn76J1qkG017649
-rw------- 1 root smmsp 2440 2009-08-06 14:56 /var/spool/mqueue/dfn76LuZLs003325
-rw------- 1 root smmsp 3157 2009-08-06 14:40 /var/spool/mqueue/dfn76Lexnk030473
-rw------- 1 root smmsp 809 2009-08-06 14:40 /var/spool/mqueue/Qfn76Lexnk030473
-rw------- 1 root smmsp 815 2009-08-06 14:56 /var/spool/mqueue/Qfn76LuZLs003325
-rw------- 1 root smmsp 2672 2009-08-06 21:29 /var/spool/mqueue/dfn774T6Q6010889
-rw------- 1 root smmsp 827 2009-08-06 14:58 /var/spool/mqueue/Qfn76Lw9cb004047
-rw------- 1 root smmsp 785 2009-08-06 21:29 /var/spool/mqueue/Qfn774T6Q6010889
-rw------- 1 root smmsp 3264 2009-08-06 17:28 /var/spool/mqueue/dfn770SSo8006697
-rw------- 1 root smmsp 5093 2009-08-06 17:49 /var/spool/mqueue/dfn770nM2T010250
-rw------- 1 root smmsp 815 2009-08-06 17:49 /var/spool/mqueue/Qfn770nM2T010250
-rw------- 1 root smmsp 794 2009-08-06 17:28 /var/spool/mqueue/Qfn770SSo8006697
-rw------- 1 root smmsp 3367 2009-08-06 21:29 /var/spool/mqueue/dfn774TJQ6010932
-rw------- 1 root smmsp 2418 2009-08-06 21:29 /var/spool/mqueue/dfn774TRQ6011022
-rw------- 1 root smmsp 830 2009-08-06 21:29 /var/spool/mqueue/Qfn774TRQ6011022
-rw------- 1 root smmsp 803 2009-08-06 21:29 /var/spool/mqueue/Qfn774TJQ6010932
-rw------- 1 root smmsp 3116 2009-08-06 22:46 /var/spool/mqueue/dfn775kh7N022317
-rw------- 1 root smmsp 803 2009-08-06 22:46 /var/spool/mqueue/Qfn775kh7N022317
-rw------- 1 root smmsp 3492 2009-08-06 23:50 /var/spool/mqueue/dfn776oEiU001546
-rw------- 1 root smmsp 777 2009-08-06 23:50 /var/spool/mqueue/Qfn776oEiU001546
-rw------- 1 root smmsp 782 2009-08-08 21:04 /var/spool/mqueue/Qfn7944sQP003628
-rw------- 1 root smmsp 833 2009-08-07 01:42 /var/spool/mqueue/Qfn778gmKl022385
-rw------- 1 root smmsp 1916 2009-08-07 05:24 /var/spool/mqueue/dfn77COr6S026523
-rw------- 1 root smmsp 2368 2009-08-07 07:10 /var/spool/mqueue/dfn77EAVHr014466
-rw------- 1 root smmsp 2333 2009-08-07 07:09 /var/spool/mqueue/dfn77E9Q5G014243
-rw------- 1 root smmsp 791 2009-08-07 05:24 /var/spool/mqueue/Qfn77COr6S026523
-rw------- 1 root smmsp 872 2009-08-07 07:10 /var/spool/mqueue/Qfn77EAVHr014466
-rw------- 1 root smmsp 839 2009-08-07 07:09 /var/spool/mqueue/Qfn77E9Q5G014243
-rw------- 1 root smmsp 8386 2009-08-07 09:32 /var/spool/mqueue/dfn77GW4W3014778
-rw------- 1 root smmsp 2329 2009-08-07 07:50 /var/spool/mqueue/dfn77EoAM5023775
-rw------- 1 root smmsp 839 2009-08-07 07:50 /var/spool/mqueue/Qfn77EoAM5023775
-rw------- 1 root smmsp 791 2009-08-07 09:32 /var/spool/mqueue/Qfn77GW4W3014778
-rw------- 1 root smmsp 5013 2009-08-07 09:46 /var/spool/mqueue/dfn77GkgRE018713
-rw------- 1 root smmsp 777 2009-08-07 09:46 /var/spool/mqueue/Qfn77GkgRE018713
-rw------- 1 root smmsp 3500 2009-08-07 10:29 /var/spool/mqueue/dfn77HT3sv030330
-rw------- 1 root smmsp 777 2009-08-07 10:29 /var/spool/mqueue/Qfn77HT3sv030330
-rw------- 1 root smmsp 2153 2009-08-07 22:35 /var/spool/mqueue/dfn785ZNLM012607
-rw------- 1 root smmsp 824 2009-08-07 22:35 /var/spool/mqueue/Qfn785ZNLM012607
-rw------- 1 root smmsp 2117 2009-08-08 00:35 /var/spool/mqueue/dfn787Zb9F028884
-rw------- 1 root smmsp 3873 2009-08-07 11:37 /var/spool/mqueue/dfn77IbIOL016804
-rw------- 1 root smmsp 1037 2009-08-08 23:57 /var/spool/mqueue/Qfn796vjCh027851
-rw------- 1 root smmsp 815 2009-08-07 11:37 /var/spool/mqueue/Qfn77IbIOL016804
-rw------- 1 root smmsp 6443 2009-08-08 00:41 /var/spool/mqueue/dfn787ffrl029590
-rw------- 1 root smmsp 800 2009-08-08 00:35 /var/spool/mqueue/Qfn787Zb9F028884
-rw------- 1 root smmsp 2153 2009-08-08 00:35 /var/spool/mqueue/dfn787Zg9F028896
-rw------- 1 root smmsp 732 2009-08-08 00:41 /var/spool/mqueue/Qfn787ffrl029590
-rw------- 1 root smmsp 2548 2009-08-08 00:35 /var/spool/mqueue/dfn787Zg9F028908
-rw------- 1 root smmsp 827 2009-08-08 00:35 /var/spool/mqueue/Qfn787Zg9F028896
-rw------- 1 root smmsp 3134 2009-08-08 05:30 /var/spool/mqueue/dfn78CU9Um001842
-rw------- 1 root smmsp 803 2009-08-08 05:30 /var/spool/mqueue/Qfn78CU9Um001842
-rw------- 1 root smmsp 803 2009-08-08 10:32 /var/spool/mqueue/Qfn78HWFbR011087
-rw------- 1 root smmsp 815 2009-08-08 11:10 /var/spool/mqueue/Qfn78IAMgb016789
-rw------- 1 root smmsp 2491 2009-08-08 11:10 /var/spool/mqueue/dfn78IAUgb016816
-rw------- 1 root smmsp 800 2009-08-08 11:10 /var/spool/mqueue/Qfn78IAUgb016816
-rw------- 1 root smmsp 806 2009-08-08 07:29 /var/spool/mqueue/Qfn78ETnoq017649
-rw------- 1 root smmsp 2534 2009-08-08 11:10 /var/spool/mqueue/dfn78IAZgb016837
-rw------- 1 root smmsp 821 2009-08-08 11:10 /var/spool/mqueue/Qfn78IAZgb016837
-rw------- 1 root smmsp 2176 2009-08-08 13:40 /var/spool/mqueue/dfn78KeugD005757
-rw------- 1 root smmsp 842 2009-08-08 13:40 /var/spool/mqueue/Qfn78KeugD005757
-rw------- 1 root smmsp 7906 2009-08-08 18:36 /var/spool/mqueue/dfn791alRY016806
-rw------- 1 root smmsp 806 2009-08-08 18:36 /var/spool/mqueue/Qfn791alRY016806
-rw------- 1 root smmsp 2659 2009-08-08 20:15 /var/spool/mqueue/dfn793F9iS029541
-rw------- 1 root smmsp 794 2009-08-08 20:15 /var/spool/mqueue/Qfn793F9iS029541
-rw------- 1 root smmsp 2870 2009-08-08 21:04 /var/spool/mqueue/dfn7944sQP003628
-rw------- 1 root smmsp 848 2009-08-08 21:04 /var/spool/mqueue/Qfn7944pDq003613
-rw------- 1 root smmsp 2129 2009-08-09 00:28 /var/spool/mqueue/dfn797SR8W000588
-rw------- 1 root smmsp 971 2009-08-10 07:49 /var/spool/mqueue/Qfn75FL5xi023450
-rw------- 1 root smmsp 3007 2009-08-08 23:57 /var/spool/mqueue/dfn796vjCh027851
-rw------- 1 root smmsp 842 2009-08-09 00:28 /var/spool/mqueue/Qfn797SR8W000588
-rw------- 1 root smmsp 8513 2009-08-09 01:07 /var/spool/mqueue/dfn7987Wf6007322
-rw------- 1 root smmsp 804 2009-08-09 01:07 /var/spool/mqueue/Qfn7987Wf6007322
-rw------- 1 root smmsp 2184 2009-08-09 03:48 /var/spool/mqueue/dfn79Ami8K028907
-rw------- 1 root smmsp 824 2009-08-09 03:48 /var/spool/mqueue/Qfn79Ami8K028907
-rw------- 1 root smmsp 2839 2009-08-09 03:48 /var/spool/mqueue/dfn79Amn8K028928
-rw------- 1 root smmsp 1938 2009-08-09 05:35 /var/spool/mqueue/dfn79CZGPc011024
-rw------- 1 root smmsp 779 2009-08-09 05:35 /var/spool/mqueue/Qfn79CZGPc011024
-rw------- 1 root smmsp 836 2009-08-09 03:48 /var/spool/mqueue/Qfn79Amn8K028928
-rw------- 1 root smmsp 2077 2009-08-09 17:40 /var/spool/mqueue/dfn7A0euee024915
-rw------- 1 root smmsp 2126 2009-08-09 22:50 /var/spool/mqueue/dfn7A5oYrK010965
-rw------- 1 root smmsp 803 2009-08-09 22:50 /var/spool/mqueue/Qfn7A5oYrK010965
-rw------- 1 root smmsp 4256 2009-08-09 23:10 /var/spool/mqueue/dfn7A6Ao6P014020
-rw------- 1 root smmsp 812 2009-08-09 23:10 /var/spool/mqueue/Qfn7A6Ao6P014020
-rw------- 1 root smmsp 1920 2009-08-10 00:22 /var/spool/mqueue/dfn7A7MtcF025945
-rw------- 1 root smmsp 734 2009-08-10 00:22 /var/spool/mqueue/Qfn7A7MtcF025945
-rw------- 1 root smmsp 734 2009-08-10 00:23 /var/spool/mqueue/Qfn7A7Na9o026063
-rw------- 1 root smmsp 6315 2009-08-10 02:23 /var/spool/mqueue/dfn7A9NuZa012329
-rw------- 1 root smmsp 974 2009-08-17 19:27 /var/spool/mqueue/Qfn7D2jUoB031445
-rw------- 1 root smmsp 1938 2009-08-10 00:23 /var/spool/mqueue/dfn7A7Na9o026063
-rw------- 1 root smmsp 3084 2009-08-10 01:28 /var/spool/mqueue/dfn7A8S3Xo003423
-rw------- 1 root smmsp 861 2009-08-10 02:23 /var/spool/mqueue/Qfn7A9NuZa012329
-rw------- 1 root smmsp 2377 2009-08-10 01:36 /var/spool/mqueue/dfn7A8aQg2004621
-rw------- 1 root smmsp 814 2009-08-10 01:36 /var/spool/mqueue/Qfn7A8aQg2004621
-rw------- 1 root smmsp 1962 2009-08-10 02:27 /var/spool/mqueue/dfn7A9RwVx013328
-rw------- 1 root smmsp 2030 2009-08-10 02:26 /var/spool/mqueue/dfn7A9QRSS012877
-rw------- 1 root smmsp 841 2009-08-10 02:26 /var/spool/mqueue/Qfn7A9QRSS012877
-rw------- 1 root smmsp 865 2009-08-10 02:27 /var/spool/mqueue/Qfn7A9RwVx013328
-rw------- 1 root smmsp 2000 2009-08-10 02:29 /var/spool/mqueue/dfn7A9T6gY013562
-rw------- 1 root smmsp 847 2009-08-10 02:29 /var/spool/mqueue/Qfn7A9T6gY013562
-rw------- 1 root smmsp 37726 2009-08-10 02:44 /var/spool/mqueue/dfn7A9iCXr016885
-rw------- 1 root smmsp 1044 2009-08-15 02:41 /var/spool/mqueue/Qfn7A9iCXr016885
-rw------- 1 root smmsp 808 2009-08-16 08:04 /var/spool/mqueue/Qfn7GF45dr008248
-rw------- 1 root smmsp 3206 2009-08-10 13:06 /var/spool/mqueue/dfn7AK6YqU020847
-rw------- 1 root smmsp 3879 2009-08-11 03:56 /var/spool/mqueue/dfn7BAuk0H022526
-rw------- 1 root smmsp 7133 2009-08-10 13:50 /var/spool/mqueue/dfn7AKovEa032131
-rw------- 1 root smmsp 4226 2009-08-10 10:40 /var/spool/mqueue/dfn7AHeFN0014642
-rw------- 1 root smmsp 790 2009-08-10 13:50 /var/spool/mqueue/Qfn7AKovEa032131
-rw------- 1 root smmsp 2088 2009-08-15 21:15 /var/spool/mqueue/dfn7G4F5NX014584
-rw------- 1 root smmsp 808 2009-08-15 21:15 /var/spool/mqueue/Qfn7G4F5NX014584
-rw------- 1 root smmsp 3554 2009-08-15 22:10 /var/spool/mqueue/dfn7G5ARAo022334
-rw------- 1 root smmsp 820 2009-08-15 22:10 /var/spool/mqueue/Qfn7G5ARAo022334
-rw------- 1 root smmsp 3703 2009-08-16 02:08 /var/spool/mqueue/dfn7G98Vt0023660
-rw------- 1 root smmsp 820 2009-08-16 02:08 /var/spool/mqueue/Qfn7G98Vt0023660
-rw------- 1 root smmsp 5357 2009-08-10 19:51 /var/spool/mqueue/dfn7B2pekk013110
-rw------- 1 root smmsp 811 2009-08-10 19:51 /var/spool/mqueue/Qfn7B2pekk013110
-rw------- 1 root smmsp 4561 2009-08-10 19:59 /var/spool/mqueue/dfn7B2xCmE014473
-rw------- 1 root smmsp 781 2009-08-10 19:59 /var/spool/mqueue/Qfn7B2xCmE014473
-rw------- 1 root smmsp 4464 2009-08-10 19:59 /var/spool/mqueue/dfn7B2xjPx014582
-rw------- 1 root smmsp 784 2009-08-10 19:59 /var/spool/mqueue/Qfn7B2xjPx014582
-rw------- 1 root smmsp 892 2009-08-10 23:24 /var/spool/mqueue/Qfn7B6OkhG013603
-rw------- 1 root smmsp 6160 2009-08-10 20:05 /var/spool/mqueue/dfn7B35ZvD015464
-rw------- 1 root smmsp 5437 2009-08-10 20:01 /var/spool/mqueue/dfn7B31ZQI014940
-rw------- 1 root smmsp 829 2009-08-10 20:05 /var/spool/mqueue/Qfn7B35ZvD015464
-rw------- 1 root smmsp 5233 2009-08-10 20:01 /var/spool/mqueue/dfn7B31bRE014929
-rw------- 1 root smmsp 877 2009-08-10 20:01 /var/spool/mqueue/Qfn7B31ZQI014940
-rw------- 1 root smmsp 3504 2009-08-10 20:07 /var/spool/mqueue/dfn7B37VlI015882
-rw------- 1 root smmsp 779 2009-08-10 20:07 /var/spool/mqueue/Qfn7B37VlI015882
-rw------- 1 root smmsp 3409 2009-08-10 20:07 /var/spool/mqueue/dfn7B37mw8015908
-rw------- 1 root smmsp 802 2009-08-10 20:07 /var/spool/mqueue/Qfn7B37mw8015908
-rw------- 1 root smmsp 4323 2009-08-11 01:16 /var/spool/mqueue/dfn7B8Gd7p031523
-rw------- 1 root smmsp 5589 2009-08-11 00:49 /var/spool/mqueue/dfn7B7nS5Z027480
-rw------- 1 root smmsp 814 2009-08-11 00:49 /var/spool/mqueue/Qfn7B7nS5Z027480
-rw------- 1 root smmsp 852 2009-08-11 01:16 /var/spool/mqueue/Qfn7B8Gd7p031523
-rw------- 1 root smmsp 832 2009-08-11 18:37 /var/spool/mqueue/Qfn7C1bPeV018193
-rw------- 1 root smmsp 2410 2009-08-11 19:23 /var/spool/mqueue/dfn7C2NwhM027036
-rw------- 1 root smmsp 781 2009-08-11 19:23 /var/spool/mqueue/Qfn7C2NwhM027036
-rw------- 1 root smmsp 5218 2009-08-11 21:37 /var/spool/mqueue/dfn7C4bOW5018745
-rw------- 1 root smmsp 811 2009-08-11 21:37 /var/spool/mqueue/Qfn7C4bOW5018745
-rw------- 1 root smmsp 3292 2009-08-11 23:01 /var/spool/mqueue/dfn7C61II4000642
-rw------- 1 root smmsp 802 2009-08-11 23:01 /var/spool/mqueue/Qfn7C61II4000642
-rw------- 1 root smmsp 19727000 2009-08-12 14:28 /var/spool/mqueue/dfn7CLSPkk029793
-rw------- 1 root smmsp 738 2009-08-12 14:28 /var/spool/mqueue/Qfn7CLSPkk029793
-rw------- 1 root smmsp 7823 2009-08-12 04:53 /var/spool/mqueue/dfn7CBrPM9023368
-rw------- 1 root smmsp 799 2009-08-12 04:53 /var/spool/mqueue/Qfn7CBrPM9023368
-rw------- 1 root smmsp 3515 2009-08-12 01:08 /var/spool/mqueue/dfn7C886kB021712
-rw------- 1 root smmsp 829 2009-08-12 01:08 /var/spool/mqueue/Qfn7C886kB021712
-rw------- 1 root smmsp 3506 2009-08-12 06:02 /var/spool/mqueue/dfn7CD2COG001711
-rw------- 1 root smmsp 779 2009-08-12 06:02 /var/spool/mqueue/Qfn7CD2COG001711
-rw------- 1 root smmsp 2546 2009-08-12 06:26 /var/spool/mqueue/dfn7CDQXcw005775
-rw------- 1 root smmsp 775 2009-08-12 06:26 /var/spool/mqueue/Qfn7CDQXcw005775
-rw------- 1 root smmsp 3911 2009-08-12 01:08 /var/spool/mqueue/dfn7C88KkB021722
-rw------- 1 root smmsp 2407 2009-08-12 07:31 /var/spool/mqueue/dfn7CEVkSw017569
-rw------- 1 root smmsp 2400 2009-08-12 09:01 /var/spool/mqueue/dfn7CG1AJu003656
-rw------- 1 root smmsp 1988 2009-08-12 20:04 /var/spool/mqueue/dfn7D346d8001850
-rw------- 1 root smmsp 838 2009-08-12 20:04 /var/spool/mqueue/Qfn7D346d8001850
-rw------- 1 root smmsp 5358 2009-08-12 20:21 /var/spool/mqueue/dfn7D3L3m4004728
-rw------- 1 root smmsp 835 2009-08-12 20:21 /var/spool/mqueue/Qfn7D3L3m4004728
-rw------- 1 root smmsp 2452 2009-08-12 21:33 /var/spool/mqueue/dfn7D4XPAN016798
-rw------- 1 root smmsp 853 2009-08-12 21:33 /var/spool/mqueue/Qfn7D4XPAN016798
-rw------- 1 root smmsp 1703 2009-08-12 21:48 /var/spool/mqueue/dfn7D4mB0x019963
-rw------- 1 root smmsp 830 2009-08-12 21:48 /var/spool/mqueue/Qfn7D4mB0x019963
-rw------- 1 root smmsp 5432 2009-08-13 06:14 /var/spool/mqueue/dfn7DDEQn5001106
-rw------- 1 root smmsp 4362 2009-08-13 05:20 /var/spool/mqueue/dfn7DCK9oO025435
-rw------- 1 root smmsp 2098 2009-08-12 21:58 /var/spool/mqueue/dfn7D4wOV0022012
-rw------- 1 root smmsp 862 2009-08-12 21:58 /var/spool/mqueue/Qfn7D4wOV0022012
-rw------- 1 root smmsp 2164 2009-08-12 21:56 /var/spool/mqueue/dfn7D4uE8s021376
-rw------- 1 root smmsp 859 2009-08-12 21:56 /var/spool/mqueue/Qfn7D4uE8s021376
-rw------- 1 root smmsp 1740 2009-08-12 22:31 /var/spool/mqueue/dfn7D5V0Iw028582
-rw------- 1 root smmsp 830 2009-08-12 22:31 /var/spool/mqueue/Qfn7D5V0Iw028582
-rw------- 1 root smmsp 886 2009-08-13 05:20 /var/spool/mqueue/Qfn7DCK9oO025435
-rw------- 1 root smmsp 968 2009-08-17 23:10 /var/spool/mqueue/Qfn7H988OA019451
-rw------- 1 root smmsp 2090 2009-08-12 22:52 /var/spool/mqueue/dfn7D5qkfH000844
-rw------- 1 root smmsp 1924 2009-08-13 00:01 /var/spool/mqueue/dfn7D71AQj012496
-rw------- 1 root smmsp 2172 2009-08-13 00:55 /var/spool/mqueue/dfn7D7tOq7020345
-rw------- 1 root smmsp 805 2009-08-13 00:55 /var/spool/mqueue/Qfn7D7tOq7020345
-rw------- 1 root smmsp 2070 2009-08-12 22:53 /var/spool/mqueue/dfn7D5r5gJ000929
-rw------- 1 root smmsp 844 2009-08-12 22:53 /var/spool/mqueue/Qfn7D5r5gJ000929
-rw------- 1 root smmsp 805 2009-08-13 09:01 /var/spool/mqueue/Qfn7DG1k60001806
-rw------- 1 root smmsp 21142 2009-08-13 10:07 /var/spool/mqueue/dfn7DH7bRw022032
-rw------- 1 root smmsp 793 2009-08-13 10:07 /var/spool/mqueue/Qfn7DH7bRw022032
-rw------- 1 root smmsp 821 2009-08-13 12:24 /var/spool/mqueue/Qfn7DJOZiX027736
-rw------- 1 root smmsp 17240 2009-08-13 13:11 /var/spool/mqueue/dfn7DKBIMt006875
-rw------- 1 root smmsp 1666 2009-08-13 12:24 /var/spool/mqueue/dfn7DJOZiX027736
-rw------- 1 root smmsp 961 2009-08-18 12:57 /var/spool/mqueue/Qfn7DKBIMt006875
-rw------- 1 root smmsp 2585 2009-08-13 13:21 /var/spool/mqueue/dfn7DKL5Bq009332
-rw------- 1 root smmsp 961 2009-08-15 12:17 /var/spool/mqueue/Qfn7AK6YqU020847
-rw------- 1 root smmsp 3724 2009-08-13 13:27 /var/spool/mqueue/dfn7DKRHBj010761
-rw------- 1 root smmsp 811 2009-08-13 13:27 /var/spool/mqueue/Qfn7DKRHBj010761
-rw------- 1 root smmsp 3093 2009-08-13 13:30 /var/spool/mqueue/dfn7DKUwEf011816
-rw------- 1 root smmsp 820 2009-08-13 13:30 /var/spool/mqueue/Qfn7DKUwEf011816
-rw------- 1 root smmsp 3668 2009-08-13 13:53 /var/spool/mqueue/dfn7DKrOx3017152
-rw------- 1 root smmsp 734 2009-08-13 13:53 /var/spool/mqueue/Qfn7DKrOx3017152
-rw------- 1 root smmsp 4523 2009-08-13 19:27 /var/spool/mqueue/dfn7E2R8CT029504
-rw------- 1 root smmsp 874 2009-08-13 19:27 /var/spool/mqueue/Qfn7E2R8CT029504
-rw------- 1 root smmsp 4189 2009-08-13 17:07 /var/spool/mqueue/dfn7E07rH0006236
-rw------- 1 root smmsp 779 2009-08-13 17:07 /var/spool/mqueue/Qfn7E07rH0006236
-rw------- 1 root smmsp 2578 2009-08-13 20:35 /var/spool/mqueue/dfn7E3ZjFq007772
-rw------- 1 root smmsp 963 2009-08-20 20:32 /var/spool/mqueue/Qfn7KNoObB021343
-rw------- 1 root smmsp 3809 2009-08-13 23:09 /var/spool/mqueue/dfn7E69ifg031105
-rw------- 1 root smmsp 820 2009-08-13 23:09 /var/spool/mqueue/Qfn7E69ifg031105
-rw------- 1 root smmsp 3652 2009-08-14 06:01 /var/spool/mqueue/dfn7ED1kob029666
-rw------- 1 root smmsp 2259 2009-08-14 15:48 /var/spool/mqueue/dfn7EMmJDf012702
-rw------- 1 root smmsp 1704 2009-08-14 10:34 /var/spool/mqueue/dfn7EHYPGf022841
-rw------- 1 root smmsp 732 2009-08-14 15:48 /var/spool/mqueue/Qfn7EMmJDf012702
-rw------- 1 root smmsp 7493 2009-08-14 10:10 /var/spool/mqueue/dfn7EHADJr016314
-rw------- 1 root smmsp 790 2009-08-14 10:10 /var/spool/mqueue/Qfn7EHADJr016314
-rw------- 1 root smmsp 4714 2009-08-14 17:11 /var/spool/mqueue/dfn7F0BoN2031074
-rw------- 1 root smmsp 1803 2009-08-14 12:47 /var/spool/mqueue/dfn7EJlJYC030212
-rw------- 1 root smmsp 853 2009-08-14 12:47 /var/spool/mqueue/Qfn7EJlJYC030212
-rw------- 1 root smmsp 1635 2009-08-19 21:36 /var/spool/mqueue/dfn7K4a8PT016512
-rw------- 1 root smmsp 2046 2009-08-14 16:29 /var/spool/mqueue/dfn7ENTF08021883
-rw------- 1 root smmsp 805 2009-08-14 17:11 /var/spool/mqueue/Qfn7F0BoN2031074
-rw------- 1 root smmsp 946 2009-08-25 12:49 /var/spool/mqueue/Qfn7KKCirI032338
-rw------- 1 root smmsp 1230 2009-08-14 21:28 /var/spool/mqueue/Qfn7F4SDtf011370
-rw------- 1 root smmsp 2168 2009-08-14 16:29 /var/spool/mqueue/dfn7ENTKdq021898
-rw------- 1 root smmsp 802 2009-08-14 16:29 /var/spool/mqueue/Qfn7ENTKdq021898
-rw------- 1 root smmsp 1679 2009-08-20 12:55 /var/spool/mqueue/dfn7KJtX1o026662
-rw------- 1 root smmsp 778 2009-08-14 21:06 /var/spool/mqueue/Qfn7F46gvh006921
-rw------- 1 root smmsp 4978 2009-08-14 20:07 /var/spool/mqueue/dfn7F376wk027503
-rw------- 1 root smmsp 799 2009-08-14 20:07 /var/spool/mqueue/Qfn7F376wk027503
-rw------- 1 root smmsp 835 2009-08-15 11:57 /var/spool/mqueue/Qfn7FIvuqJ023700
-rw------- 1 root smmsp 993 2009-08-17 11:21 /var/spool/mqueue/Qfn7HIKFWS028802
-rw------- 1 root smmsp 7901 2009-08-16 08:11 /var/spool/mqueue/dfn7GFBR60009130
-rw------- 1 root smmsp 3433 2009-08-16 08:04 /var/spool/mqueue/dfn7GF45dr008248
-rw------- 1 root smmsp 793 2009-08-16 08:11 /var/spool/mqueue/Qfn7GFBR60009130
-rw------- 1 root smmsp 2069 2009-08-16 14:19 /var/spool/mqueue/dfn7GLJNIc000976
-rw------- 1 root smmsp 823 2009-08-16 14:19 /var/spool/mqueue/Qfn7GLJNIc000976
-rw------- 1 root smmsp 980 2009-08-17 23:10 /var/spool/mqueue/Qfn7H7ixRu004112
-rw------- 1 root smmsp 2123 2009-08-16 14:32 /var/spool/mqueue/dfn7GLWcSU003650
-rw------- 1 root smmsp 2687 2009-08-16 14:40 /var/spool/mqueue/dfn7GLeZbK005081
-rw------- 1 root smmsp 877 2009-08-16 14:40 /var/spool/mqueue/Qfn7GLeZbK005081
-rw------- 1 root smmsp 970 2009-08-21 14:28 /var/spool/mqueue/Qfn7LBKcmi001794
-rw------- 1 root smmsp 2191 2009-08-16 14:32 /var/spool/mqueue/dfn7GLWe34003685
-rw------- 1 root smmsp 1842 2009-08-16 14:40 /var/spool/mqueue/dfn7GLex7t005205
-rw------- 1 root smmsp 856 2009-08-16 14:40 /var/spool/mqueue/Qfn7GLex7t005205
-rw------- 1 root smmsp 2909 2009-08-16 15:08 /var/spool/mqueue/dfn7GM8kpw010900
-rw------- 1 root smmsp 799 2009-08-16 15:08 /var/spool/mqueue/Qfn7GM8kpw010900
-rw------- 1 root smmsp 2907 2009-08-16 15:09 /var/spool/mqueue/dfn7GM9uJv011096
-rw------- 1 root smmsp 799 2009-08-16 15:09 /var/spool/mqueue/Qfn7GM9uJv011096
-rw------- 1 root smmsp 2058 2009-08-17 11:46 /var/spool/mqueue/dfn7HIkDNw004055
-rw------- 1 root smmsp 799 2009-08-18 09:33 /var/spool/mqueue/Qfn7IGXt0b027853
-rw------- 1 root smmsp 3854 2009-08-16 16:28 /var/spool/mqueue/dfn7GNSGkv023768
-rw------- 1 root smmsp 861 2009-08-16 16:28 /var/spool/mqueue/Qfn7GNSGkv023768
-rw------- 1 root smmsp 835 2009-08-17 01:14 /var/spool/mqueue/Qfn7H8EVt4010017
-rw------- 1 root smmsp 2437 2009-08-17 01:13 /var/spool/mqueue/dfn7H8DBqt009604
-rw------- 1 root smmsp 847 2009-08-17 01:13 /var/spool/mqueue/Qfn7H8DBqt009604
-rw------- 1 root smmsp 2100 2009-08-17 01:31 /var/spool/mqueue/dfn7H8VD6Q013576
-rw------- 1 root smmsp 865 2009-08-17 01:31 /var/spool/mqueue/Qfn7H8VD6Q013576
-rw------- 1 root smmsp 2226 2009-08-17 01:36 /var/spool/mqueue/dfn7H8a5EH014367
-rw------- 1 root smmsp 853 2009-08-17 01:36 /var/spool/mqueue/Qfn7H8a5EH014367
-rw------- 1 root smmsp 2182 2009-08-17 01:37 /var/spool/mqueue/dfn7H8bCPQ014526
-rw------- 1 root smmsp 859 2009-08-17 01:37 /var/spool/mqueue/Qfn7H8bCPQ014526
-rw------- 1 root smmsp 1693 2009-08-17 02:08 /var/spool/mqueue/dfn7H988OA019451
-rw------- 1 root smmsp 968 2009-08-18 06:15 /var/spool/mqueue/Qfn7H64IJ0017744
-rw------- 1 root smmsp 1700 2009-08-17 03:53 /var/spool/mqueue/dfn7HArwuX002998
-rw------- 1 root smmsp 943 2009-08-19 06:53 /var/spool/mqueue/Qfn7EDxr07006896
-rw------- 1 root smmsp 3619 2009-08-17 05:52 /var/spool/mqueue/dfn7HCqFVa020636
-rw------- 1 root smmsp 779 2009-08-17 05:52 /var/spool/mqueue/Qfn7HCqFVa020636
-rw------- 1 root smmsp 11482 2009-08-17 08:13 /var/spool/mqueue/dfn7HFD3LQ012534
-rw------- 1 root smmsp 793 2009-08-17 08:13 /var/spool/mqueue/Qfn7HFD3LQ012534
-rw------- 1 root smmsp 3481 2009-08-17 09:25 /var/spool/mqueue/dfn7HGPcD4029282
-rw------- 1 root smmsp 779 2009-08-17 09:25 /var/spool/mqueue/Qfn7HGPcD4029282
-rw------- 1 root smmsp 975 2009-08-23 01:52 /var/spool/mqueue/Qfn7MN30rw019400
-rw------- 1 root smmsp 836 2009-08-20 07:57 /var/spool/mqueue/Qfn7KEvwFv013875
-rw------- 1 root smmsp 3847 2009-08-20 03:52 /var/spool/mqueue/dfn7KAqJIo007136
-rw------- 1 root smmsp 802 2009-08-20 03:52 /var/spool/mqueue/Qfn7KAqJIo007136
-rw------- 1 root smmsp 1725 2009-08-20 08:27 /var/spool/mqueue/dfn7KFRG80019343
[root@pot mqueue]# find /var/spool/mqueue -mtime +1 -exec ls -l {} \;
[root@pot mqueue]# find /var/spool/mqueue -mtime +1 -exec rm {} \;
[root@pot mqueue]# ll
total 19048
drwxr-xr-x 2 root mail 241664 2009-09-09 10:45 ./
drwxr-xr-x 6 root root 8192 2009-09-08 10:41 ../
-rw------- 1 root smmsp 937 2009-09-07 13:29 Qfn82LiDjA012825
-rw------- 1 root smmsp 873 2009-09-07 18:29 Qfn832XASB009701
-rw------- 1 root smmsp 893 2009-09-07 20:59 Qfn8349F0c024789
-rw------- 1 root smmsp 933 2009-09-08 04:28 Qfn83BbnJF025245
-rw------- 1 root smmsp 960 2009-09-08 20:24 Qfn844TlMJ017477
-rw------- 1 root smmsp 894 2009-09-09 04:20 Qfn84BVod7013586
-rw------- 1 root smmsp 846 2009-09-09 08:06 Qfn84FFPUA016086
-rw------- 1 root smmsp 957 2009-09-09 07:39 Qfn84FrtWd023965
-rw------- 1 root smmsp 870 2009-09-07 11:23 Qfn858pwHv003138
-rw------- 1 root smmsp 984 2009-09-07 11:23 Qfn861BimA005433
-rw------- 1 root smmsp 732 2009-09-07 10:58 Qfn87Hw8Ej016301
-rw------- 1 root smmsp 852 2009-09-08 17:28 Qfn87IMh8R021199
-rw------- 1 root smmsp 830 2009-09-07 14:50 Qfn87Lo7mZ029723
-rw------- 1 root smmsp 966 2009-09-08 14:08 Qfn87MUHmO005276
-rw------- 1 root smmsp 966 2009-09-08 13:18 Qfn881aqeR003540
-rw------- 1 root smmsp 852 2009-09-08 17:28 Qfn88382Jl020169
-rw------- 1 root smmsp 785 2009-09-07 22:02 Qfn8852USc007108
-rw------- 1 root smmsp 818 2009-09-08 00:07 Qfn8877e7t028972
-rw------- 1 root smmsp 830 2009-09-08 00:07 Qfn8877g1h028979
-rw------- 1 root smmsp 851 2009-09-08 00:45 Qfn887jSWh003020
-rw------- 1 root smmsp 966 2009-09-08 17:28 Qfn888Gkuf008249
-rw------- 1 root smmsp 836 2009-09-08 01:45 Qfn888jgGs013304
-rw------- 1 root smmsp 851 2009-09-08 01:59 Qfn888xRKm015653
-rw------- 1 root smmsp 818 2009-09-08 01:59 Qfn888xRKm015663
-rw------- 1 root smmsp 812 2009-09-08 01:59 Qfn888xYKm015698
-rw------- 1 root smmsp 812 2009-09-08 02:07 Qfn8897rqS016976
-rw------- 1 root smmsp 824 2009-09-08 02:07 Qfn8897tqS016999
-rw------- 1 root smmsp 815 2009-09-08 02:22 Qfn889MgNG019595
-rw------- 1 root smmsp 815 2009-09-08 06:19 Qfn88DJPqq028889
-rw------- 1 root smmsp 818 2009-09-08 06:54 Qfn88DsOFx003182
-rw------- 1 root smmsp 777 2009-09-08 07:25 Qfn88EP0sp008882
-rw------- 1 root smmsp 806 2009-09-08 07:45 Qfn88EjhUe013582
-rw------- 1 root smmsp 809 2009-09-08 07:46 Qfn88Ek3Ue013727
-rw------- 1 root smmsp 782 2009-09-08 07:46 Qfn88EkEjl013774
-rw------- 1 root smmsp 809 2009-09-08 07:46 Qfn88EkLUe013813
-rw------- 1 root smmsp 788 2009-09-08 07:46 Qfn88EkOjl013816
-rw------- 1 root smmsp 785 2009-09-08 08:57 Qfn88FvSiD031304
-rw------- 1 root smmsp 813 2009-09-08 11:03 Qfn88I3wQS007147
-rw------- 1 root smmsp 803 2009-09-08 11:55 Qfn88ItIZk025833
-rw------- 1 root smmsp 825 2009-09-08 12:22 Qfn88JMWIQ002951
-rw------- 1 root smmsp 804 2009-09-08 13:01 Qfn88K17Au014434
-rw------- 1 root smmsp 969 2009-09-08 13:29 Qfn88KTGnC022975
-rw------- 1 root smmsp 813 2009-09-08 14:31 Qfn88LVUtR010845
-rw------- 1 root smmsp 818 2009-09-08 16:44 Qfn88NihXL018861
-rw------- 1 root smmsp 821 2009-09-08 18:03 Qfn8913HSg005245
-rw------- 1 root smmsp 809 2009-09-08 18:03 Qfn8913iSg005561
-rw------- 1 root smmsp 797 2009-09-08 18:03 Qfn8913nSg005583
-rw------- 1 root smmsp 856 2009-09-08 23:18 Qfn891Bicc006970
-rw------- 1 root smmsp 812 2009-09-08 18:23 Qfn891NmBk009391
-rw------- 1 root smmsp 791 2009-09-08 18:25 Qfn891PM33009734
-rw------- 1 root smmsp 959 2009-09-08 22:54 Qfn893Sx5f002227
-rw------- 1 root smmsp 970 2009-09-08 23:18 Qfn893phXG006589
-rw------- 1 root smmsp 842 2009-09-08 22:08 Qfn8958jLO021580
-rw------- 1 root smmsp 794 2009-09-08 23:15 Qfn896FeoJ001570
-rw------- 1 root smmsp 777 2009-09-09 00:06 Qfn8976ehR011939
-rw------- 1 root smmsp 803 2009-09-09 00:57 Qfn897vQpJ021122
-rw------- 1 root smmsp 809 2009-09-09 04:37 Qfn89BbUFf028318
-rw------- 1 root smmsp 777 2009-09-09 04:56 Qfn89BuYhZ032017
-rw------- 1 root smmsp 845 2009-09-09 05:05 Qfn89C51CG001515
-rw------- 1 root smmsp 881 2009-09-09 07:49 Qfn89EnfOG004330
-rw------- 1 root smmsp 777 2009-09-09 08:07 Qfn89F7AUR008492
-rw------- 1 root smmsp 855 2009-09-09 08:16 Qfn89FG0iR010692
-rw------- 1 root smmsp 804 2009-09-09 10:35 Qfn89HZh6p021575
-rw------- 1 root smmsp 9564 2009-09-07 10:58 dfn87Hw8Ej016301
-rw------- 1 root smmsp 1653 2009-09-07 11:22 dfn87IMh8R021199
-rw------- 1 root smmsp 2222 2009-09-07 14:50 dfn87Lo7mZ029723
-rw------- 1 root smmsp 1665 2009-09-07 15:30 dfn87MUHmO005276
-rw------- 1 root smmsp 3177 2009-09-07 15:50 dfn87MoI4n009310
-rw------- 1 root smmsp 1653 2009-09-07 18:36 dfn881aqeR003540
-rw------- 1 root smmsp 1670 2009-09-07 20:08 dfn88382Jl020169
-rw------- 1 root smmsp 16354 2009-09-07 22:02 dfn8852USc007108
-rw------- 1 root smmsp 7008 2009-09-08 00:07 dfn8877e7t028972
-rw------- 1 root smmsp 6983 2009-09-08 00:07 dfn8877g1h028979
-rw------- 1 root smmsp 9787 2009-09-08 00:45 dfn887jSWh003020
-rw------- 1 root smmsp 1663 2009-09-08 01:16 dfn888Gkuf008249
-rw------- 1 root smmsp 3474 2009-09-08 01:45 dfn888jgGs013304
-rw------- 1 root smmsp 3984 2009-09-08 01:59 dfn888xRKm015653
-rw------- 1 root smmsp 3542 2009-09-08 01:59 dfn888xRKm015663
-rw------- 1 root smmsp 3716 2009-09-08 01:59 dfn888xYKm015698
-rw------- 1 root smmsp 7812 2009-09-08 02:07 dfn8897rqS016976
-rw------- 1 root smmsp 8247 2009-09-08 02:07 dfn8897tqS016999
-rw------- 1 root smmsp 4591 2009-09-08 02:22 dfn889MgNG019595
-rw------- 1 root smmsp 3873 2009-09-08 06:19 dfn88DJPqq028889
-rw------- 1 root smmsp 3467 2009-09-08 06:54 dfn88DsOFx003182
-rw------- 1 root smmsp 3501 2009-09-08 07:25 dfn88EP0sp008882
-rw------- 1 root smmsp 3618 2009-09-08 07:45 dfn88EjhUe013582
-rw------- 1 root smmsp 1666 2009-09-08 07:45 dfn88Ejogt013624
-rw------- 1 root smmsp 4792 2009-09-08 07:46 dfn88Ek3Ue013727
-rw------- 1 root smmsp 3903 2009-09-08 07:46 dfn88EkEjl013774
-rw------- 1 root smmsp 3995 2009-09-08 07:46 dfn88EkLUe013813
-rw------- 1 root smmsp 3529 2009-09-08 07:46 dfn88EkOjl013816
-rw------- 1 root smmsp 1656 2009-09-08 08:05 dfn88F5dqX018415
-rw------- 1 root smmsp 7769 2009-09-08 08:57 dfn88FvSiD031304
-rw------- 1 root smmsp 1683 2009-09-08 09:31 dfn88GVP9J009581
-rw------- 1 root smmsp 1664 2009-09-08 10:19 dfn88HJMx9025290
-rw------- 1 root smmsp 1682 2009-09-08 11:03 dfn88I3wQS007147
-rw------- 1 root smmsp 3351 2009-09-08 16:44 dfn88NihXL018861
-rw------- 1 root smmsp 1676 2009-09-08 17:06 dfn89062bu024410
-rw------- 1 root smmsp 1676 2009-09-08 17:43 dfn890hYdm000703
-rw------- 1 root smmsp 3982 2009-09-08 18:03 dfn8913HSg005245
-rw------- 1 root smmsp 3887 2009-09-08 18:03 dfn8913iSg005561
-rw------- 1 root smmsp 3831 2009-09-08 18:03 dfn8913nSg005583
-rw------- 1 root smmsp 1676 2009-09-08 18:11 dfn891Bicc006970
-rw------- 1 root smmsp 3511 2009-09-09 00:06 dfn8976ehR011939
-rw------- 1 root smmsp 3649 2009-09-09 00:57 dfn897vQpJ021122
-rw------- 1 root smmsp 12598 2009-09-09 04:37 dfn89BbUFf028318
-rw------- 1 root smmsp 4918 2009-09-09 04:56 dfn89BuYhZ032017
-rw------- 1 root smmsp 6564 2009-09-09 05:05 dfn89C51CG001515
-rw------- 1 root smmsp 109 2009-09-09 05:55 dfn89Ct8np010685
-rw------- 1 root smmsp 101 2009-09-09 06:45 dfn89Dj8D2020437
-rw------- 1 root smmsp 116 2009-09-09 06:45 dfn89Dj8D4020437
-rw------- 1 root smmsp 116 2009-09-09 06:45 dfn89Dj8D6020437
-rw------- 1 root smmsp 104 2009-09-09 07:10 dfn89EA8FQ026864
-rw------- 1 root smmsp 2165 2009-09-09 07:49 dfn89EnfOG004330
-rw------- 1 root smmsp 3499 2009-09-09 08:07 dfn89F7AUR008492
-rw------- 1 root smmsp 1735 2009-09-09 08:16 dfn89FG0iR010692
-rw------- 1 root smmsp 916 2009-09-09 09:59 qfn84I8hkR028807
-rw------- 1 root smmsp 916 2009-09-09 09:36 qfn84JCqWN015776
-rw------- 1 root smmsp 916 2009-09-09 09:35 qfn84KIXIu032106
-rw------- 1 root smmsp 916 2009-09-09 09:35 qfn84LS2If018005
-rw------- 1 root smmsp 943 2009-09-09 10:25 qfn86329JO023341
-rw------- 1 root smmsp 873 2009-09-09 09:35 qfn867O97Q004423
-rw------- 1 root smmsp 960 2009-09-09 09:59 qfn86KBoh1018737
-rw------- 1 root smmsp 916 2009-09-09 10:25 qfn86KW9IF023968
-rw------- 1 root smmsp 1107 2009-09-09 10:24 qfn89Dj8D2020437
-rw------- 1 root smmsp 1127 2009-09-09 10:24 qfn89Dj8D4020437
-rw------- 1 root smmsp 1130 2009-09-09 10:24 qfn89Dj8D6020437
-rw------- 1 root smmsp 1126 2009-09-09 09:34 qfn89EA8FQ026864
-rw------- 1 root smmsp 908 2009-09-09 09:52 qfn89GZ5cX000590
-rw------- 1 root smmsp 1474 2009-09-09 10:21 qfn89HLUAI016593
-rw------- 1 root smmsp 1691 2009-09-09 10:45 qfn89HjWCC029618
[root@potato2 mqueue]# ll|wc -l
177
[root@webma clientmqueue]# find /var/spool/clientmqueue -mtime +1 -exec ls -l {} \;
[root@webma clientmqueue]# find /var/spool/clientmqueue -mtime +1 -exec rm -r {} \;
Tuesday, September 8, 2009
PHP magic_quotes_gpc
Category:
PHP
— SkyHi @ Tuesday, September 08, 2009
PhpSecInfo Test Information
magic_quotes_gpc
Test Description
Determines if magic_quotes_gpc is enabled.
Security Implications
The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Unfortunately this protection isn't perfect: there are a series of other characters that databases interpret as special not covered by this function. In addition, data not sent direct to databases must un-escaped before it can be used.
Recommendations
Because it's inconsistent and ineffective, it's not recommended that magic_quotes_gpc be enabled. Rely on input filtering done by your scripts.
You can disable magic_quotes_gpc in the php.ini file:
; Disable magic_quotes_gpc
magic_quotes_gpc = 'off'
The setting can also be disabled in apache's httpd.conf file, or an .htaccess file:
# Disable magic_quotes_gpc
php_flag magic_quotes_gpc off
things that should always be turned off in php.ini on a live system
register_globals
allow_url_fopen
display_errors
magic_quotes_gpc
Reference: http://phpsec.org/projects/phpsecinfo/tests/magic_quotes_gpc.html
http://www.webmasterworld.com/forum88/8688.htm
magic_quotes_gpc
Test Description
Determines if magic_quotes_gpc is enabled.
Security Implications
The magic quotes option was introduced to help protect developers from SQL injection attacks. It effectively executes addslashes() on all information received over GET, POST or COOKIE. Unfortunately this protection isn't perfect: there are a series of other characters that databases interpret as special not covered by this function. In addition, data not sent direct to databases must un-escaped before it can be used.
Recommendations
Because it's inconsistent and ineffective, it's not recommended that magic_quotes_gpc be enabled. Rely on input filtering done by your scripts.
You can disable magic_quotes_gpc in the php.ini file:
; Disable magic_quotes_gpc
magic_quotes_gpc = 'off'
The setting can also be disabled in apache's httpd.conf file, or an .htaccess file:
# Disable magic_quotes_gpc
php_flag magic_quotes_gpc off
things that should always be turned off in php.ini on a live system
register_globals
allow_url_fopen
display_errors
magic_quotes_gpc
Reference: http://phpsec.org/projects/phpsecinfo/tests/magic_quotes_gpc.html
http://www.webmasterworld.com/forum88/8688.htm
Sunday, September 6, 2009
LINUX DATA MANIPULATION cut
Category:
scripts
— SkyHi @ Sunday, September 06, 2009
Consider a slight variation on the company.data file we've been playing with in this section:
406378:Sales:Itorre:Jan
031762:Marketing:Nasium:Jim
636496:Research:Ancholie:Mel
396082:Sales:Jucacion:Ed
If you want to print just columns 1 to 6 of each line (the employee serial numbers), use the -c1-6 flag, as in this command:
cut -c1-6 company.data
406378
031762
636496
396082
If you want to print just columns 4 and 8 of each line (the first letter of the department and the fourth digit of the serial number), use the -c4,8 flag, as in this command:
cut -c4,8 company.data
3S
7M
4R
0S
And since this file obviously has fields delimited by colons, we can pick out just the last names by specifying the -d: and -f3 flags, like this:
cut -d: -f3 company.data
Itorre
Nasium
Ancholie
Jucacion
Here is a summary of the most common flags for the cut command:
-c [n | n,m | n-m] Specify a single column, multiple columns (separated by a comma), or range of columns (separated by a dash).
-f [n | n,m | n-m] Specify a single field, multiple fields (separated by a comma), or range of fields (separated by a dash).
-dc Specify the field delimiter.
-s Suppress (don't print) lines not containing the delimiter.
Reference: http://lowfatlinux.com/linux-columns-cut.html
406378:Sales:Itorre:Jan
031762:Marketing:Nasium:Jim
636496:Research:Ancholie:Mel
396082:Sales:Jucacion:Ed
If you want to print just columns 1 to 6 of each line (the employee serial numbers), use the -c1-6 flag, as in this command:
cut -c1-6 company.data
406378
031762
636496
396082
If you want to print just columns 4 and 8 of each line (the first letter of the department and the fourth digit of the serial number), use the -c4,8 flag, as in this command:
cut -c4,8 company.data
3S
7M
4R
0S
And since this file obviously has fields delimited by colons, we can pick out just the last names by specifying the -d: and -f3 flags, like this:
cut -d: -f3 company.data
Itorre
Nasium
Ancholie
Jucacion
Here is a summary of the most common flags for the cut command:
-c [n | n,m | n-m] Specify a single column, multiple columns (separated by a comma), or range of columns (separated by a dash).
-f [n | n,m | n-m] Specify a single field, multiple fields (separated by a comma), or range of fields (separated by a dash).
-dc Specify the field delimiter.
-s Suppress (don't print) lines not containing the delimiter.
Reference: http://lowfatlinux.com/linux-columns-cut.html
Subscribe to:
Posts (Atom)
