This is the mail archive of the
cygwin
mailing list for the Cygwin project.
root privileges
- From: "Jorge Marques Pelizzoni" <jpeliz at icmc dot usp dot br>
- To: cygwin at cygwin dot com
- Date: Thu, 29 Nov 2007 18:09:21 -0200 (BRST)
- Subject: 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/