root privileges

Jorge Marques Pelizzoni jpeliz@icmc.usp.br
Thu Nov 29 21:15:00 GMT 2007


Hi all!

I am developing a program that requires root privileges to run (e.g. it
calls ioctl to set communication lines at a serial port). Even though I am
an administrator of my WinXP workstation, cygwin keeps giving me EPERM.
Ok, I've read:

http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping

but wasn't able to sove my problem anyway. I even tried changing my user
group from 513 to 544 in /dev/passwd by directly editing this file...

I'd rather not change the program (as it runs fine on linux) but just be
recognized as root to have it going on Windows. Is that possible?

Thanks in advance. Cheers,

Jorge.


Jorge M. Pelizzoni
ICMC - Universidade de São Paulo


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list