Re: [cciug] Simple question - but it has been a long week

From: Avichal Singh (asingh6@lucent.com)
Date: Fri Feb 18 2000 - 12:59:17 EST


What about :-

----------------------------
#!/bin/ksh
PRIVELEGED_USERS="vobadm manager1 manager2"
USER_NAME=`logname`
if echo $PRIVELEGED_USERS |grep $USER_NAME
then
  print -u2 "Warning : Only priveleged users are permitted to execute
$CLEARCASE_OP_KIND"
  print -u2 "Contact ClearCase Admin Michael Hofsiss x007"
  return 1
fi
..further processing if needed...
return 0

----------------------------

NJoy
-Avichal

Michael Hofsiss wrote:
>
> Thanks in advance all.
>
> I am running ClearCase 3.2.1 on a Solaris 2.6 platform.
>
> What I want to do is block certain cleartool commands from being run by engineering.
>
> Things like mkbranch, rmlabel, etc.
>
> Can someone tell me how to set up the trigger to do that?
>
> Thanks.
>
> Michael
>
> Michael Hofsiss
> Manager, CM/QA Group
>
> Network Software Services Unit Phone: 703 484-3052
> 13615 Dulles Technology Drive E-Mail: mhofsiss@cisco.com
> Herndon, VA 20171 Pager: 800-796-7363 PIN 101 0949
> Fax: 703 484-3369
> ---------------------------------------
> "The Matrix Has You..."
> ---------------------------------------
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>

-- 
===============================================
Avichal Singh  Software Development Environment

Phone : 732-949-8848 Fax : 732-949-4751 E-mail : asingh6@lucent.com

Room : 3E-328A 101 Crawfords Corner Road Holmdel, NJ 07733-3030 Lucent Technologies, Bell Labs =============================================== - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:20 EDT