I would think MASTER OFF it is a better way, because its not a 'back
door' approach.  If you are dropping to the command line, then just
execute something like;

Sudo /usr/ibm/uv/bin/master off 123 ;*where 123 is the user number

You could create a group called uvmaster and add the users to that group
that are allowed to perform master off.  Set up sudo to allow users in
that group to execute the master command.  I have to say that I havent
done this, but it sounds plausible.

We have a JOB.MONITOR phantom that is kicked off via cron (as root) to
perform batch processing.  When we need to log people out we submit the
request to the JOB.MONITOR.

Another thing you might find helpful is the 'strace' command.  It is
available in Linux, which is what we use.  It shows you all the nitty
gritty that is going on during the execution of a command (what files
are opened, read, written to, etc...).  I always use this to try to help
see what is necessary as far as permissions and such are concerned.  Im
not a guru at this, but it is easier than reading a core dump from my
days of workiing on an IBM Mainframe, cobol/cics.

Anthony




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Farrant
Sent: Wednesday, February 23, 2005 8:57 AM
To: [email protected]
Subject: RE: [U2] [UV] MASTER OFF <port>


Yes we're in the process of rolling out sudo to our IT staff and
removing root access but we have not been able to get MASTER OFF to
work.

I was always led to believe that MASTER OFF is a cleaner way to drop
Universe sessions rather than killing the sessions at unix level.

Mike Farrant
IT Manager, Premdor UK

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew Lakeland
Sent: 23 February 2005 12:53
To: [email protected]
Subject: RE: [U2] [UV] MASTER OFF <port>

Not sure about doing it from Universe as it's the unix permissions which
come into effect.

You could use the sudo utility and then allow them to kill the process
from Unix or a universe shell executing a unix command.

Sudo (superuser do) allows a system administrator to give certain users
(or groups of users) the ability to run some (or all) commands as root
while logging all commands and arguments. Sudo operates on a per-command
basis, it is not a replacement for the shell.

andy




-----Original Message-----
From: Mike Farrant [mailto:[EMAIL PROTECTED]
Sent: 23 February 2005 13:02
To: [email protected]
Subject: [U2] [UV] MASTER OFF <port>

Hi,
Can anyone tell me if there is a way to allow non root access users to
access the universe MASTER OFF command?

We are on version 9.6.1.6 of Universe.

Thanks

Mike Farrant
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to