- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- why normal user can start cron daemon?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 12:12 AM
тАО05-27-2002 12:12 AM
why normal user can start cron daemon?
When I do ps -ef|grep cron,the output is
root 996 1 May 06 /usr/sbin/cron
ypcoe 29916 996 ? /usr/sbin/cron
ypcoe 29956 996 ? /usr/sbin/cron
ypcoe 29978 996 ? /usr/sbin/cron
and I can not kill them.
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 12:30 AM
тАО05-27-2002 12:30 AM
Re: why normal user can start cron daemon?
As root do;
/sbin/init.d/cron stop
Then if cron is still running manually kill the first cron - pid 996, then the others should die or else you may have to kill -9 them also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 12:39 AM
тАО05-27-2002 12:39 AM
Re: why normal user can start cron daemon?
/sbin/init.d/cron stop works.
but others are still running, and even kill -9
can not.
I found there is some info in syslog.log
xntpd [926]:system event 1: system restart
.
.
.
Authentication failure for SNMP req from xxx
what does this mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 12:45 AM
тАО05-27-2002 12:45 AM
Re: why normal user can start cron daemon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 01:07 AM
тАО05-27-2002 01:07 AM
Re: why normal user can start cron daemon?
look at /usr/adm/cron/log
/usr/spool/cron/crontabs
The only way that cron could start another cron, is if it is in the root crontab file.
check your root crontab file for a cron entry.
If you don't find one, check your other crontab files for the "cron" entry.
As root try
grep cron /var/spool/cron/crontabs/*
I would not stop xntpd since this is to do with system time . see man xntpd
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 02:28 AM
тАО05-27-2002 02:28 AM
Re: why normal user can start cron daemon?
try to use top- command to check out if you have zombie- processes on your system. If you use ps command to find the cron processes, do the following, find out the parent process for your cron processes, using the PPID. This shows you which process started the children processes. Try to kill these parent processes also.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 02:45 AM
тАО05-27-2002 02:45 AM
Re: why normal user can start cron daemon?
/var/adm/cron
I have the permission of the files in that directory
prw------- 1 root root 0 Apr 9 10:02 FIFO
-rw-r--r-- 1 root root 28780 May 23 11:01 OLDlog
-r--r--r-- 1 bin bin 18 Nov 7 1997 at.allow
-r--r--r-- 1 bin bin 14 Nov 7 1997 cron.allow
-rw-r--r-- 1 root root 135609 May 27 12:45 log
-r--r--r-- 1 bin bin 17 Nov 7 1997 queuedefs
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 05:00 PM
тАО05-27-2002 05:00 PM
Re: why normal user can start cron daemon?
any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 05:27 PM
тАО05-27-2002 05:27 PM
Re: why normal user can start cron daemon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 05:50 PM
тАО05-27-2002 05:50 PM
Re: why normal user can start cron daemon?
It looks as though other users are allowed to
have cron access and run jobs through this.
Have a look in /var/adm/cron/cron.allow
If the user is listed they are allowed to
run cron jobs. Is this user an application
user or normal user? If it is a normal user,
do they really need this access?
What output do you have now for cron if
you lookup the processes?
# ps -ef | grep cron