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 ?
On Mon, 2021-04-19 at 09:19:37 +0300, Alexander wrote:
I make rop (suid root) for packing to .deb my programs.
But see system rights problems when try run dpkg.
I'm not sure what rop is? But it looks like perhaps some kind of sudo
clone?
As resolve in Debian this problem ?
I don't understand the problem, so it's difficult to say.
Rop very just:
program rop;
uses Unix;
begin
if ParamCount < 1 then Halt;
fpSystem(ParamStr(1));
end.
What language is that? And why is this relevant?
If I run rop whoami then result "root".
How to provide rop with all necessary rights? Need more than set
uid/gid root ?
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 ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:54:16 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,333,873 |