Can We Run Raw Sockets With User Permissions
hi all,
can we run raw sockets with user permissions..................... |
Not directly. Use setuid/seteuid to change the user temporaryly. Example
|
ok lets say i go by ur method...
and when i open the socket it will be in root and after that can i set back to non-root cause i need a file to be opened and the data from the socket must be written to the file.............. like Setting To Root Opening the Socket Setting Back To Non -Root Opening the file and storing the data.......... ( IS THIS POSSIBLE) |
All times are GMT -5. The time now is 12:48 AM. |