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
Forums
Discussions
Discussions
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
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
01-07-2003 07:32 PM
01-07-2003 07:32 PM
PS
2)is all the root user share the same crontab?
3)how to show all the user that do have crontab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 07:38 PM
01-07-2003 07:38 PM
Re: PS
Users have their own crontab.
you can check the /var/spool/cron/crontabs dir.Here each user have a seperate crontab file.
To edit the crontab file for a user use
#crontab -e
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 07:47 PM
01-07-2003 07:47 PM
Re: PS
2. No each user has its own crontab, the files for each user cron is kept in /var/spool/cron/crontabs directory.
3. The file /var/adm/cron/cron.allow and /var/adm/cron/cron.deny define which user can access crontabs.
Go through man pages of crontab and you see the rules of both files.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2003 07:56 PM
01-07-2003 07:56 PM
Re: PS
2) I'm not sure what you are asking. There can only be 1 "root" user on a system. So only 1 crontab for the root user. If you have other users with a uid of 0, then they MAY be able to have their own crontab, I am not sure.
3) 'ls /var/spool/cron/crontabs' will list all crontabs defined on the system. If you are logged in as root and want to look at another users crontab do a 'crontab -l username' (NOTE: This only works on HP-UX 11.X) or you can do a 'cat /var/spool/cron/crontabs/username'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 12:54 AM
01-08-2003 12:54 AM
Re: PS
2) Any user with UID of 0 will use the root crontab file.
3) For other users to be able to use cron, they also need an entry in /var/adm/cron/cron.allow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2003 01:31 AM
01-08-2003 01:31 AM
Re: PS
ps shows process running in that session only.whereas pa -aef shows all processes on server.
crontab will be different for each user, root will be having it's own crontab file.
In /var/adm/crom/cron.allow file if the user exist he/she can create/edit/delete their own crontab file