that's what it is supposed to do, only root shows all. we setup a sudo command: george ALL=(root) NOPASSWD:/usr/mbin/portstatus
$ cat /usr/mbin/portstatus cd /usr/uv ; /usr/uv/bin/uv PORT2 PORT2 ON UV >ED VOC PORT2 The file "VOC" is read-only and cannot be updated. 2 lines long. ----: P 0001: PA 0002: PORT.STATUS And lastly: setup a program: >ED UTIL PORT.STATUS 3 lines long. ----: P 0001: EXECUTE "sh -c 'sudo /usr/mbin/portstatus'" 0002: STOP 0003: END Globally cataloged the program. Now, PORT.STATUS runs the regular port.status (user only) and *PORT.STATUS runs the sudo'd port.status (all users) With sudo, you can control who is allowed to run the modified PORT.STATUS. George > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Hennessey, Mark > F. > Sent: Friday, June 09, 2006 1:50 PM > To: [email protected] > Subject: [U2] UV PORT.STATUS... > > > Solaris 8, UV 10.0.8.... > > We have restored after a disk crash. Since the restore > PORT.STATUS only works for the user invoking it, not for the > others on system. I immediately checked /.uvhome/bin for > list_readu... only to find the setuid bit is still set: > > -rwSr-xr-x 3 root other 2923468 Sep 24 2002 list_readu > > What else could be wrong? > > Mark Hennessey > State of Connecticut > DSS/MIS Child Support Systems > Voice: 860-424-5261 > Fax: 860-424-4956 > ------- > 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/
