On Mon, 8 Sep 2003, Sylvain Petreolle wrote: > This doesnt work for me on Win2K. > I have an account that is in the Administrators group. > I copied the SYSTEM line and changed it to root: xdm fails the same > way. > I tried with the Administrator line too, no way. > > [EMAIL PROTECTED] ~ > $ grep 544 /etc/passwd > SYSTEM:*:18:544:,S-1-5-18:: > root:*:18:544:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > > [EMAIL PROTECTED] ~ > $ xdm > Only root wants to run xdm > > > This is probably a bug in xdm. It's been discussed on this list > > before. Cygwin (or, rather, Windows) doesn't have a root user, but > > does have users with various permissions usually attributed to "root". > > On Win9x you can simply add a line for "root" to /etc/passwd (on > > WinNT/2k/XP you can copy the line for "system" and change the user > > name in that new line to "root").
Erm, yes. I forgot that some programs check for root by checking whether UID==0. You might need to also change the UID (3rd field) to 0. If xdm will try to do a seteuid(), use the SYSTEM line as your template (to have the same SID). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton