ProlyX
05-22-2003, 06:25 PM
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
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