CVE-2006-2607 Jobs start from root when pam_limits
来源:互联网 发布:java泛型的使用 编辑:程序博客网 时间:2024/05/16 03:43
https://bugzilla.redhat.com/show_bug.cgi?id=178431
User-Agent: Opera/8.50 (Windows NT 5.0; U; ru)
Description of problem:
I set hard nproc limit in limits.conf to 10 and uncommented "session required
pam_limits.so" in /etc/pam.d/crond
When process limit have reached new processes start from root.
Version-Release number of selected component (if applicable):
vixie-cron-4.1-36.FC4 pam-0.79-9.6
How reproducible:
Always
Steps to Reproduce:
1. Add "username hard nproc 10" to /etc/security/limits.conf
2. Uncomment line with pam_limits.so in /etc/pam.d/crond
3. Add jobs in username crontab:
* * * * * /path/to/script.pl
script.pl:
#!/usr/bin/perl
open file, '>/path/to/pid.'.$$;
close file;
while(1) { sleep(1); }
Actual Results: After some time "ps aux" shows 10 process of script.pl under the user username
but other processes are under root.
10 pidfiles owned by username:usergroup but others by root:usergroup
Expected Results: 10 processes of script.pl under username
Additional info:
Also applied to FC3
- CVE-2006-2607 Jobs start from root when pam_limits
- when reduce jobs start up?
- WebLogic - Managed Server failed to start when started from console.
- python start jobs
- Steve Jobs (from Wikipedia)
- Steve Jobs (From askmen)
- Finding a point on a Bezier curve when given the distance from the start point
- "there are stopped jobs" when you exit.
- 当你需要用命令行执行putty时(When you need start putty from command line)
- Root exploit on Exynos(CVE-2012-6422)
- Enlarge Gvim When Start Up
- Accessing Spring beans from Quartz jobs
- Start from now
- LETS START FROM HERE...
- start from the love
- Start from zero!
- start from scratch
- 启程,Start from here!
- NFS服务器配置-服务启动与停止
- MaterialSystem分析
- Swing事件处理
- SQL取出某列最大值的所有记录(行)的一种方法:select count(*) from tb where c > a.c
- 祝大家虎年龙腾虎跃,事业成就,学习猛进
- CVE-2006-2607 Jobs start from root when pam_limits
- 存储过程的学习(转帖)
- ADROID 2.1 架构解析 3 亮度设置
- HTTP请求和响应。
- post和get方式发送数据
- WPARAM与LPARAM的区别
- 面向对象
- 如何利用VB编写NT服务程序
- 头晕