[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How make my ROP for use dpkg ?



Hi,

I make rop (suid root) for packing to .deb my programs.
But see system rights problems when try run dpkg.

As resolve in Debian this problem ?

Rop very just:

program rop;
uses Unix;
begin
if ParamCount < 1 then Halt;
fpSystem(ParamStr(1));
end.

If I run rop whoami then result "root".
If I run rop dpkg -i myprogram.deb then result rights error.

How to provide rop with all necessary rights? Need more than set uid/gid root ?

Good Luck,
Alexander.


Reply to: