delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/12/18:31:15.2

From: raf AT comdyn DOT com DOT au (raf)
Subject: Who is root? (was Re: raw floppy access)
12 Nov 1997 18:31:15 -0800 :
Message-ID: <199711130133.MAA26449.cygnus.gnu-win32@mali.cd.comdyn.com.au>
To: gnu-win32 AT cygnus DOT com

>i just try to mount /dev/fd0 as binary,
>and now when i try to tar tvf /dev/fd0, i get :

>tar: Cannot open /dev/fd0: Not super-user

>but i am logged as admin ! 

>I have also try to do mkpasswd and mkgroup and modify the passwd file
>to put the UID 0 , so that the 'id' command say that i am root

>but i have still the Not super-user error message !

>Any idea for this ?

=====================
=== root != admin ===
=====================

If you are running NT, you might need to create
an NT user with uid 0 (not just /etc/passwd).

Anyone know if this possible? I doubt it.

Alternatively, get[e]uid() could be made to
return 0 when the user is in the Administrators group.
Sounds very kludgy.
Would this be a good idea?

Isn't the concept of a 'root' user too important
to ignore when porting unix software?


raf

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019