- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: run/uic= does not start process as other user
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-11-2004 10:06 AM
08-11-2004 10:06 AM
Re: run/uic= does not start process as other user
A good manager might ...
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 06:37 PM
08-11-2004 06:37 PM
Re: run/uic= does not start process as other user
Hunter Goatley is known in vms world; also in Freeware CD there are another software to login with another user called JUMP.
For freeware you can ask support to developer (I guess he's happy to do this).
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 08:28 PM
08-11-2004 08:28 PM
Re: run/uic= does not start process as other user
the one thing I would ABSOLUTELY need to go with "su-" is a very rigorous authentication, accounting, and audit on it!
"su-" as in *X just has way to little constraints and traceability.
(And on a vaguely related topic: in VMS I would like to be able to see who issued a SUBMIT/USER= )
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 09:09 PM
08-11-2004 09:09 PM
Re: run/uic= does not start process as other user
http://h71000.www7.hp.com/openvms/freeware/index.html
there was a software called kronos that's a cron emulator.
Tim, you could see on it may give some idea.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 09:41 PM
08-11-2004 09:41 PM
Re: run/uic= does not start process as other user
I have had REALLY BAD experiences with su in Unix. When you have a lot to do, and certainly in a very stressfull environment, it's easy to forget you did su. With all consequences...In my case, the whole system was blown to pieces, just because of this. and there was no way to find out who did it...
Actually, if we had something like
$ RUN/IMPERSONATION=
to run just THAT image under that user's account, that would be sufficient IMHO.
Still wthin this, I double Jan's suggestions.
I would put even more restrictions:
At least "IMPERSONATE" privilege would be required. But additionally, you need GRPPRV to switch to another with your group and SYSPRV to any other - which means typically system-group users.
However, considering "root" in Unix terms equals VMS's "SYSTEM", it should NEVER be allowed to impersonate any account in a group where grp <= MAXSYSGROUP. Why would you: If you could, there is no need to do that, you can login that way!
(With one exception, perhaps: if your groupnumber is <= MAXSYSGROUP, when you have both SYSPRV and GRPPRV. It can be handy - but just that!)
If interactive "su" is implemented, all above applies, but I think it wise that default privileges should be as low as possible. Just enable authorized privilges is needed. Also, there must be a clear warning that you "su"'d, ON ANY PROMPT, which cannot be undone. I don't care in what format!
And PLEASE give it a decent name....
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 11:04 PM
08-11-2004 11:04 PM
Re: run/uic= does not start process as other user
I mostly agree, but:
However, considering "root" in Unix terms equals VMS's "SYSTEM", it should NEVER be allowed to impersonate any account in a group where grp <= MAXSYSGROUP. Why would you: If you could, there is no need to do that, you can login that way!
(With one exception, perhaps: if your groupnumber is <= MAXSYSGROUP, when you have both SYSPRV and GRPPRV. It can be handy - but just that!)
Here I totally DON'T agree!
If there is a need (real need, not just lazyness of the programmer) to have a certain function running as SYSTEM, (by definition <= MAXSYSGROUP ) then that SHOULD be possible, (well traceble of course).
And your idea about it only being allowed if the issuing process itself is <= MAXSYSGROUP, _THAT_ I abhorr. It implies that users (as in system managers, who are also only fallible mortals) are LOCKED into an environment with effectively SYSPRV always ON. To me, that looks like a very unwanted situation.
Even IF you have the impression that you are in a position to "always" want it, it might still be usefull to be able to turn it off, if only to test that error reports might or might not be a protection issue...
And your horror story about su- can also be told about VMS systems with multiple people using the SYSTEM account.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 03:09 AM
08-12-2004 03:09 AM
Re: run/uic= does not start process as other user
A detached process needs to be started at boot time. ( I am assuming all boot sequences and scripts run by default as the SYSTEM user).
This detached process does not need or perhaps requires less privs, different quotas or other environment. (i.e. a scheduler program.)
In the UNIX world cron is started and run under the root id and environment. Cron then executes what is in the schedule using the individual users id and evironment of he who created the submission to the schedule.
With this said. It may be more advantageous in my case to make changes to the scheduler program and use submit/username instead of trying to force a solution into the run/detached for the main scheduler.
Although it seems that su in the VMS world is a highly discussed topic.
Thanks again to all for your experiences and opinions.
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 07:24 PM
08-12-2004 07:24 PM
Re: run/uic= does not start process as other user
Given your explanation, consider this:
Cron in Unix can be compared to QueueManager in VMS. One (minor) difference is that cron includes a scheduler. In VMS, each job has to reschedule itself, or needs additional software to have it scheduled automatically.
In prinicple you could define a queue "Scheduler", owned by UIC "cron" on which you run the cron.com job (running the cron_daemon proces), or some job that issues the run/detach command you described. This submit command to be done /USER=CRON (or whatver user you require). You can set the whole thing up in such a way that the CRON proces is automatically started whenever the current process (or system) crashes, or after boot.
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2004 02:00 AM
08-13-2004 02:00 AM
Re: run/uic= does not start process as other user
Appreciate everyone's input.
Have a great weekend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2004 08:05 AM
08-16-2004 08:05 AM
Re: run/uic= does not start process as other user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2004 05:18 PM
08-16-2004 05:18 PM
Re: run/uic= does not start process as other user
you are missing the point. Tim wants to run a detached process under a different USERNAME and you can't do that with RUN. Please re-read the entire thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2004 07:15 AM
08-17-2004 07:15 AM
Re: run/uic= does not start process as other user
I didn't mean to imply that leaving out /detach would run the process under a different username. I just meant that the documentation on RUN says that /detach (same UIC) and /UIC flags conflict. Depending on the way VMS processes the flags you could get unexpected results. One would expect the last of the two to cancel out the other but I wouldn't count on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2004 08:05 AM
08-17-2004 08:05 AM
Re: run/uic= does not start process as other user
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2005 04:41 AM
07-21-2005 04:41 AM
Re: run/uic= does not start process as other user
- « Previous
-
- 1
- 2
- Next »