This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

root privileges


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]