Hi, Yes, you are right, Allowing PORT.STATUS to show all users when run by a non-root user this following is from a IBM/U2 technote I found one time.
chmod u=rws /usr/bin/ipcs chmod u=rws uvhome/bin/list_readu manu > -----Message d'origine----- > De : u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] De la part de inquieti > Envoyé : mardi 4 janvier 2011 13:38 > À : u2-users@listserver.u2ug.org > Objet : Re: [U2] [UV] PORT.STATUS questions. > > > We use UniVerse on RedHat and get around the problem of only showing > your own port.status details with the following method:- Port status Setting, > up the port.status is quite easy if you have or can get sudo. If you have the > file /etc/sudoers then sudo is already on your system. Logged in as root, go > to the /etc directory and use visudo to edit the file (you must be logged in > as > root or the session will hang). There will be an example for the group wheel > with a remark about uncommenting the line to allow the people in the wheel > group to run all commands. Insert a line that will allow sbgrp to run > commands without entering the su password. This can be limited to specific > commands, there are examples at the bottom of this page > http://www.gratisoft.us/sudo/man/sudoers.html > By adding the following line into ours > %sbgrp ALL=(ALL) NOPASSWD: ALL > All our sb+ users can run root commands. I created a symbolic link in the > /bin > directory (ln -s /usr/ibm/uv/bin/list_readu port.status) rather than on an > account basis. The list_readu file itself > (/usr/ibm/uv/bin/list_readu) should be chmodded using 4751 and the group > set as other using chgrp. This way the user details will also be available in > /LOCKS Then copied the MD item for PORT.STATUS to ORIG.PORT.STATUS > (just in case) and replaced PORT.STATUS with the following:- > > 0001 PA > 0002 SH -c "sudo port.status" > ======================= > HTH > David > > Buss, Troy (Logitek Systems)-2 wrote: > > > > Fyi.. > > > > On universe 10.2 running on windows, this system(1302) seems to work > > without contention between users and executes very quickly, about 100 > > times per second on 2 sessions. > > > > ________________________________ > > From: Don Robinson <donr_w...@yahoo.com> > > To: U2 Users List <u2-users@listserver.u2ug.org> > > Sent: Mon, January 3, 2011 1:06:41 PM > > Subject: Re: [U2] [UV] PORT.STATUS questions. > > > > Manu, > > > > The INTERNAL option looks promising for what I need. I do read manuals > > but somehow missed it. > > > > It doesn't solve the "One user at a time" issue but will make parsing > > the output > > > > easier. > > > > Your other suggestions may be useful, too. > > > > Thanks to you and the others that responded. > > Don Robinson > > > > > > > __________________________________________________________ > ____________ > > _______ Scanned by IBM Email Security Management Services powered > by > > MessageLabs. > > For more information please visit http://www.ers.ibm.com > > > > This email is intended only for the use of the party to which it is > > addressed and may contain information that is privileged, > > confidential, or protected by law. If you are not the intended > > recipient you are hereby notified that any dissemination, copying or > > distribution of the email or its contents is strictly prohibited. If > > you have received this message in error, please notify us immediately, > > by replying to the message and deleting it from your computer. > > > > WARNING: Internet communications are not assured to be secure or clear > > of inaccuracies as information could be intercepted, corrupted, lost, > > destroyed, arrive late or incomplete, or contain viruses. Therefore, > > we do not accept responsibility for any errors or omissions that are > > present in this email, or any attachment, that have arisen as a result > > of e-mail transmission. > > > __________________________________________________________ > ____________ > > _______ _______________________________________________ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > > -- > View this message in context: http://old.nabble.com/-UD--Killing-a-UO- > connection-tp30547618p30586311.html > Sent from the U2 - Users mailing list archive at Nabble.com. > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users