[Linux-disciples] Apt questions
Adam Rosi-Kessel
adam at rosi-kessel.org
Wed Apr 20 16:05:55 EDT 2005
Stephen R Laniel wrote:
>>I think the only way to really accomplish what you want would be a
>>little apt-get wrapper.
> Something like a shell script called apt-source that calls
> 'apt-get source'? In order for apt-source to be able to
> invoke apt-get, apt-source would need to run suid, wouldn't
> it?
> I'm just making sure I know what you have in mind.
I think the way it would work is the wrapper script would check what
command (or option) was being run and if it was a permissible one it
would drop to suid, otherwise not.
You might also check apt-src, which definitely can be run as normal user
and might do everything you need.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050420/1bef67f6/signature.pgp
More information about the Linux-disciples
mailing list