View Single Post
Old 05-22-2003, 06:25 PM  
ProlyX
Member
 
Join Date: Nov 2002
Posts: 39
Default help needed.. little code snippet in cpp

hi,

can someone write little cpp snippet for me that following do..

user exec a command.. like site ginfo <group>.. (i know Mouten does already nice one.. but i want little changes and need that for that)

so the script should do following..

get uid from uid flags.. check if user has +G and is in grp arg1..
if yea.. <insert code here..> if not return You Dont have access.. etc

i hope someone understand it.. i would build it in in the cpp of ginfo that i can coutinue that.

tnx
ProlyX is offline