[Qt-interest] QtNetwork and raw ethernet properties

Andrew Medico a.medico at gmail.com
Tue Dec 9 00:15:17 CET 2008


On Mon, Dec 8, 2008 at 5:48 PM, Denton Vis <vistapro7 at hotmail.com> wrote:
>
>>"Thiago Macieira" <thiago.macieira at trolltech.com> wrote in message
>>news:200812082011.52976.thiago.macieira at trolltech.com...
>
>>>Qt offers only the ability to query information on the network devices.
>>>Changing them requires administrator/root privileges, which is why we
>>>don't
>>>provide that.
>
> Thiago, does that mean that Qt only does stuff which does not require root
> privileges?

In my experience, Qt doesn't have any classes/methods that *require*
root/administrator access to operate. But if your app is running as
root, Qt doesn't prevent you from using the general-purpose classes to
do privileged operations (write to root-owned directories, open
sockets listening on ports <1024, launch processes as root, etc).

-- 
Andrew Medico <a.medico at gmail.com>



More information about the Qt-interest-old mailing list