- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cron and user ID
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
08-16-2002 07:26 AM
08-16-2002 07:26 AM
I'm wondering if there is a mean to have two different crontabs for two users who have the same user ID ?
Thanks for your help.
Olivier
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:35 AM
08-16-2002 07:35 AM
Re: cron and user ID
If two PEOPLE share the SAME userid, then they are REALLY JUST ONE user as far as the system is concerned.
What kind of "crontab" entries would you have for these two people sharing a single userid??
Of course it's a violation of any known security rule.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:36 AM
08-16-2002 07:36 AM
Re: cron and user ID
I believe that two user names with the same user ID is trouble waiting to happen. You would be better off giving each a unique user ID. With the same ID, they are (effectively) the same user...
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:38 AM
08-16-2002 07:38 AM
Re: cron and user ID
But these 2 users can belong to a different group maybe and have there own environment..
The manual says:
When cron executes a job, the job's user and group IDs are set to those of the user who submitted the job.
So there it is.. the jobs in different crontabs will/can have different permissions if the GID of the users are different.
Regards,
Ceesjan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:41 AM
08-16-2002 07:41 AM
Re: cron and user ID
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 07:44 AM
08-16-2002 07:44 AM
Re: cron and user ID
First : John = John, and Mary = Mary, so how can anything differentiate?
Second:
John=UID 111
Mary=UID 111
Guess what? The system uses the UID (computers use numbers, names are just for human understanding).
So to the system, UID 111 = John and/or Mary.
If a process is started by John, cron gets the UID of 111 to launch the job. If Mary is sequentially higher in passwd than John she will get credit for most of the things that occur. John may like this but Mary sure wont.
The moral of the story is that ID's are supposed to be unique. Sharing an ID is no different than an anonymous FTP except that the anonymous person has free roaming privaleges on your system.
So, do yourself a favor ahead of time, and make them both have different ID's. You can use groups to give them access to the same files and programs, and even sudo to launch things as a third account.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2002 08:22 AM