Progress Terminate a session.

psvillanueva

New Member
Hi!

were using proshut and promon to disconnect hung sessions, my question is how do I disable #2 Uncondictional shutdown and #3 emegency shutdown so i can delegate a task to our helpdesk
any idea?

usr pid time of login user id tty Limbo?
5 221276 Mon Mar 8 10:07:37 2010 wdog no

1 Disconnect a User
2 Unconditional Shutdown
3 Emergency Shutdown (Kill All)
x Exit

Enter choice>

Thanks
 
AFAIK there is no way to hide a menu option for specific users in promon. If you want to achieve something like this you need to do more:

This is how we achieved something similar on Unix ( 3'000 miles above point of view ):


  • No OS account that is able to login into the machine ( apart from root, of course ) is able to run anything Progress related from the command line because they're lacking the privileges.
  • Each Progress command is wrapped in a script which is handling the security issues and temporarily elevates the user's privileges to run a specific Progress command.

HTH, RealHeavyDude.
 
I just read from the previous post that it can be done through $DLC/bin/proshut DBNAME <option> output

from that line i can create a unix script to terminate sessions...its a bit complex script but its doable.
 
It not too hard to do .

Create a Progress App that shows the content of the _user table so you can find connected users. Then you can use the connection ID from that table to run a OS-COMMAND that disconnect only that user. This program would need to be run on the Database server machine unless you have app Server running on that server to run the command for the client.
 
Back
Top