- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- need to provide access to users for crontab, mailx
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
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-17-2006 08:06 AM
01-17-2006 08:06 AM
I have admin access to manage the crontab & mailx,
some of users need to use the application of crontab & mailx.
how i will give permission to them to use the crontab/mailx application.
please suggest
bunty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:08 AM
01-17-2006 08:08 AM
Re: need to provide access to users for crontab, mailx
For mailx, I don't know of any restrictions to use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:17 AM
01-17-2006 08:17 AM
Re: need to provide access to users for crontab, mailx
/etc
#ll cro*
lr-xr-xr-t 1 root sys 14 Apr 21 2005 cron -> /usr/sbin/cron
no cron.allow file there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:19 AM
01-17-2006 08:19 AM
Re: need to provide access to users for crontab, mailx
all users should be able to send mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:21 AM
01-17-2006 08:21 AM
Re: need to provide access to users for crontab, mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:22 AM
01-17-2006 08:22 AM
Re: need to provide access to users for crontab, mailx
/var/adm/cron/cron.allow
just add the user login name.
Anyone with a user id on the server can use mailx as long as it belongs their user id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:24 AM
01-17-2006 08:24 AM
Re: need to provide access to users for crontab, mailx
You can execute crontab if your name appears in the file
/usr/lib/cron/cron.allow.
If that file does not exist, you can use crontab if your name does not appear in the file /usr/lib/cron/cron.deny.
If only cron.deny exists and is empty, all users can use crontab.
If neither file exists, only the root user can use crontab. The allow/deny files consist of one user name per line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:26 AM
01-17-2006 08:26 AM
Solutionman crontab
will give you some nice info.
mailx is in /usr/bin - so all users have access.
Just add the users to /var/adm/cron/cron.allow
# cat /var/adm/cron/cron.allow
root
adm
uucp
user1
user2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:47 AM
01-17-2006 08:47 AM
Re: need to provide access to users for crontab, mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2006 08:36 PM
01-17-2006 08:36 PM
Re: need to provide access to users for crontab, mailx
no restriction to use mailx but take care that the user type elm once in own fome directory.
To allow the sue of crontab add the user in teh file /var/adm/cron/cron.allow.
From man crontab:
FILES
/var/adm/cron Main cron directory
/var/adm/cron/cron.allow List of allowed users
/var/adm/cron/cron.deny List of denied users
/var/adm/cron/log Accounting information
/var/spool/cron/crontabs Directory containing the crontab files
HTH,
Art